Index: pkg/analysis_server/test/integration/analysis/error_test.dart |
diff --git a/pkg/analysis_server/test/integration/analysis/error_test.dart b/pkg/analysis_server/test/integration/analysis/error_test.dart |
index 733754512b4d7199fcba75a8919d34493a3d171b..25df6566b8c0e75de9b2defbaf3fdcd540dcca40 100644 |
--- a/pkg/analysis_server/test/integration/analysis/error_test.dart |
+++ b/pkg/analysis_server/test/integration/analysis/error_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(AnalysisErrorIntegrationTest); |
} |
@@ -19,7 +21,9 @@ class AnalysisErrorIntegrationTest |
extends AbstractAnalysisServerIntegrationTest { |
test_detect_simple_error() { |
String pathname = sourcePath('test.dart'); |
- writeFile(pathname, ''' |
+ writeFile( |
+ pathname, |
+ ''' |
main() { |
print(null) // parse error: missing ';' |
}'''); |