| Index: pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart
|
| index 17b5f7cb2b3b86722a8cb75429fe7b06003853ce..dd01394dd3c2b905df4a2a923261cc8c6645fd66 100644
|
| --- a/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart
|
| @@ -57,10 +57,7 @@ class NamedConstructorContributorTest extends DartCompletionContributorTest {
|
| import "/testB.dart";
|
| var m;
|
| main() {new X.^}''');
|
| - // Assume that imported libraries are resolved
|
| - if (!enableNewAnalysisDriver) {
|
| - await resolveLibraryUnit(libSource);
|
| - }
|
| +
|
| await computeSuggestions();
|
| expect(replacementOffset, completionOffset);
|
| expect(replacementLength, 0);
|
| @@ -113,10 +110,7 @@ class NamedConstructorContributorTest extends DartCompletionContributorTest {
|
| import "/testB.dart";
|
| var m;
|
| main() {new X.^}''');
|
| - // Assume that imported libraries are resolved
|
| - if (!enableNewAnalysisDriver) {
|
| - await resolveLibraryUnit(libSource);
|
| - }
|
| +
|
| await computeSuggestions();
|
| expect(replacementOffset, completionOffset);
|
| expect(replacementLength, 0);
|
|
|