Index: pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart |
diff --git a/pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart |
index a4d7b73ec50619a71de1c2dee6f49f458b469e12..ea65d56ada69aa5a9d93641ef35805092f9c45b2 100644 |
--- a/pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart |
+++ b/pkg/analysis_server/test/services/completion/dart/label_contributor_test.dart |
@@ -2,12 +2,7 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library test.services.completion.contributor.dart.label; |
- |
-import 'package:analysis_server/plugin/protocol/protocol.dart' as protocol |
- show Element, ElementKind; |
-import 'package:analysis_server/plugin/protocol/protocol.dart' |
- hide Element, ElementKind; |
+import 'package:analysis_server/protocol/protocol_generated.dart'; |
import 'package:analysis_server/src/protocol_server.dart'; |
import 'package:analysis_server/src/provisional/completion/dart/completion_dart.dart'; |
import 'package:analysis_server/src/services/completion/dart/label_contributor.dart'; |
@@ -31,10 +26,10 @@ class LabelContributorTest extends DartCompletionContributorTest { |
CompletionSuggestion cs = |
assertSuggest(name, csKind: kind, relevance: relevance); |
expect(cs.returnType, isNull); |
- protocol.Element element = cs.element; |
+ Element element = cs.element; |
expect(element, isNotNull); |
expect(element.flags, 0); |
- expect(element.kind, equals(protocol.ElementKind.LABEL)); |
+ expect(element.kind, equals(ElementKind.LABEL)); |
expect(element.name, equals(name)); |
expect(element.parameters, isNull); |
expect(element.returnType, isNull); |