Index: pkg/analysis_server/test/integration/server/set_subscriptions_test.dart |
diff --git a/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart b/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart |
index 517445b085b797e69afe5986ec8ae61a4be2788e..88df52e20978b93ab770a9c9c2b899bafd062bb6 100644 |
--- a/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart |
+++ b/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart |
@@ -10,9 +10,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 @@ class Test extends AbstractAnalysisServerIntegrationTest { |
}); |
return sendServerSetSubscriptions([]).then((_) { |
String pathname = sourcePath('test.dart'); |
- writeFile(pathname, ''' |
+ writeFile( |
+ pathname, |
+ ''' |
main() { |
var x; |
}'''); |
@@ -42,7 +46,9 @@ main() { |
expect(statusReceived, isFalse); |
return sendServerSetSubscriptions([ServerService.STATUS]).then((_) { |
// Tickle test.dart just in case analysis has already completed. |
- writeFile(pathname, ''' |
+ writeFile( |
+ pathname, |
+ ''' |
main() { |
var y; |
}'''); |