Index: pkg/analysis_server/test/analysis/get_errors_test.dart |
diff --git a/pkg/analysis_server/test/analysis/get_errors_test.dart b/pkg/analysis_server/test/analysis/get_errors_test.dart |
index a665cfa3829a1d4582c15a10c2bfd1825cd71983..f382aac8c797bd4c06cf1160d3a7d875f58c994e 100644 |
--- a/pkg/analysis_server/test/analysis/get_errors_test.dart |
+++ b/pkg/analysis_server/test/analysis/get_errors_test.dart |
@@ -8,15 +8,17 @@ import 'dart:async'; |
import 'package:analysis_server/plugin/protocol/protocol.dart'; |
import 'package:analysis_server/src/domain_analysis.dart'; |
+import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
-import 'package:unittest/unittest.dart'; |
import '../analysis_abstract.dart'; |
import '../utils.dart'; |
main() { |
initializeTestEnvironment(); |
- defineReflectiveTests(GetErrorsTest); |
+ defineReflectiveSuite(() { |
+ defineReflectiveTests(GetErrorsTest); |
+ }); |
} |
@reflectiveTest |
@@ -26,7 +28,9 @@ class GetErrorsTest extends AbstractAnalysisTest { |
@override |
void setUp() { |
super.setUp(); |
- server.handlers = [new AnalysisDomainHandler(server),]; |
+ server.handlers = [ |
+ new AnalysisDomainHandler(server), |
+ ]; |
createProject(); |
} |