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 21330d7f24fc29cf746fc218f477272dec07e72f..cee4dfce6345d2f1550cc46eeff369316012648f 100644 |
--- a/pkg/analysis_server/test/integration/analysis/error_test.dart |
+++ b/pkg/analysis_server/test/integration/analysis/error_test.dart |
@@ -10,13 +10,16 @@ import 'package:unittest/unittest.dart'; |
import '../../reflective_tests.dart'; |
import '../integration_tests.dart'; |
+main() { |
+ runReflectiveTests(AnalysisErrorIntegrationTest); |
+} |
+ |
@ReflectiveTestCase() |
class AnalysisErrorIntegrationTest extends AbstractAnalysisServerIntegrationTest |
{ |
test_detect_simple_error() { |
String pathname = sourcePath('test.dart'); |
- writeFile(pathname, |
- ''' |
+ writeFile(pathname, ''' |
main() { |
print(null) // parse error: missing ';' |
}'''); |
@@ -29,7 +32,3 @@ main() { |
}); |
} |
} |
- |
-main() { |
- runReflectiveTests(AnalysisErrorIntegrationTest); |
-} |