Index: pkg/analysis_server/test/integration/analysis/highlights_test.dart |
diff --git a/pkg/analysis_server/test/integration/analysis/highlights_test.dart b/pkg/analysis_server/test/integration/analysis/highlights_test.dart |
index 7605ea37e3db41bea19e30b12472b91202e4a189..2b629eb2631435e634e1d6555655610c73d7a270 100644 |
--- a/pkg/analysis_server/test/integration/analysis/highlights_test.dart |
+++ b/pkg/analysis_server/test/integration/analysis/highlights_test.dart |
@@ -5,15 +5,17 @@ |
library test.integration.analysis.highlights; |
import 'package:analysis_server/plugin/protocol/protocol.dart'; |
+import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
-import 'package:unittest/unittest.dart'; |
import '../../utils.dart'; |
import '../integration_tests.dart'; |
main() { |
initializeTestEnvironment(); |
- defineReflectiveTests(AnalysisHighlightsTest); |
+ defineReflectiveSuite(() { |
+ defineReflectiveTests(AnalysisHighlightsTest); |
+ }); |
} |
@reflectiveTest |
@@ -99,6 +101,7 @@ int topLevelVariable; |
expect(highlights[type], equals(expected.toSet())); |
highlights.remove(type); |
} |
+ |
check(HighlightRegionType.ANNOTATION, ['@override']); |
check(HighlightRegionType.BUILT_IN, |
['as', 'get', 'import', 'set', 'static', 'typedef']); |