Index: pkg/analysis_server/test/integration/analysis/occurrences_test.dart |
diff --git a/pkg/analysis_server/test/integration/analysis/occurrences_test.dart b/pkg/analysis_server/test/integration/analysis/occurrences_test.dart |
index 5b084ecffa3fcf55ac1865ea3ba0ebb094a4336d..a1d25d05af71fc1ca0af395ae184c5b38a02df89 100644 |
--- a/pkg/analysis_server/test/integration/analysis/occurrences_test.dart |
+++ b/pkg/analysis_server/test/integration/analysis/occurrences_test.dart |
@@ -8,9 +8,11 @@ import 'package:analysis_server/src/protocol.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(Test); |
} |
@@ -31,7 +33,9 @@ main() { |
'''; |
writeFile(pathname, text); |
standardAnalysisSetup(); |
- sendAnalysisSetSubscriptions({AnalysisService.OCCURRENCES: [pathname]}); |
+ sendAnalysisSetSubscriptions({ |
+ AnalysisService.OCCURRENCES: [pathname] |
+ }); |
List<Occurrences> occurrences; |
onAnalysisOccurrences.listen((AnalysisOccurrencesParams params) { |
expect(params.file, equals(pathname)); |