| Index: pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart
|
| index 00d80dfb6940a072cfd3571432ba401383bbfc66..98511e371f8de9e2149d22a0b0845f9ee1bd8307 100644
|
| --- a/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/dart/imported_reference_contributor_test.dart
|
| @@ -109,7 +109,7 @@ int myFunc() {}
|
| expect(suggestion.docComplete,
|
| 'My function.\nShort description.\n\nLonger description.');
|
| }
|
| -
|
| +
|
| test_enum() async {
|
| addSource('/libA.dart', 'library A; enum E { one, two }');
|
| addTestSource('import "/libA.dart"; main() {^}');
|
| @@ -499,7 +499,7 @@ class C extends B with M1, M2 {
|
| result.changeNotices.forEach((ChangeNotice notice) {
|
| CompilationUnit unit = notice.resolvedDartUnit;
|
| if (unit != null) {
|
| - index.index(context2, unit);
|
| + index.indexUnit(unit);
|
| }
|
| });
|
| result = context2.performAnalysisTask();
|
|
|