Index: pkg/analysis_server/test/analysis/notification_errors_test.dart |
diff --git a/pkg/analysis_server/test/analysis/notification_errors_test.dart b/pkg/analysis_server/test/analysis/notification_errors_test.dart |
index 02b05ec8b87c07870bc1a8f94102f5fb11741428..65bed47d2d2aa7e4eab94e7379f8265b722c49eb 100644 |
--- a/pkg/analysis_server/test/analysis/notification_errors_test.dart |
+++ b/pkg/analysis_server/test/analysis/notification_errors_test.dart |
@@ -10,15 +10,17 @@ import 'package:analysis_server/src/domain_analysis.dart'; |
import 'package:analyzer/src/generated/engine.dart'; |
import 'package:analyzer/src/services/lint.dart'; |
import 'package:linter/src/linter.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(NotificationErrorsTest); |
+ defineReflectiveSuite(() { |
+ defineReflectiveTests(NotificationErrorsTest); |
+ }); |
} |
@reflectiveTest |
@@ -35,7 +37,9 @@ class NotificationErrorsTest extends AbstractAnalysisTest { |
@override |
void setUp() { |
super.setUp(); |
- server.handlers = [new AnalysisDomainHandler(server),]; |
+ server.handlers = [ |
+ new AnalysisDomainHandler(server), |
+ ]; |
} |
test_importError() async { |