Index: pkg/analyzer_cli/test/strong_mode_test.dart |
diff --git a/pkg/analyzer_cli/test/strong_mode_test.dart b/pkg/analyzer_cli/test/strong_mode_test.dart |
index 7060fa87858be609a1521eabb4c14f4917774d42..f2c533bf81b514b9002d7eb7ce2667bbcf154e33 100644 |
--- a/pkg/analyzer_cli/test/strong_mode_test.dart |
+++ b/pkg/analyzer_cli/test/strong_mode_test.dart |
@@ -21,10 +21,7 @@ import 'utils.dart'; |
/// Generally we don't want a lot of cases here as it requires spinning up a |
/// full analysis context. |
/// |
-// TODO(pq): fix tests to run safely on the bots |
-// https://github.com/dart-lang/sdk/issues/25001 |
-main() {} |
-not_main() { |
+main() { |
group('--strong', () { |
StringSink savedOutSink, savedErrorSink; |
int savedExitCode; |
@@ -42,8 +39,7 @@ not_main() { |
}); |
test('produces stricter errors', () async { |
- var testPath = path.join(testDirectory, 'data/strong_example.dart'); |
- new Driver().start(['--options', emptyOptionsFile, '--strong', testPath]); |
+ drive('data/strong_example.dart', args: ['--strong']); |
expect(exitCode, 3); |
var stdout = outSink.toString(); |