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 29644f992b20dfc822a5e7a5f73e6c0ecc795553..41928da22a93a6efa7c5ccfc957e32e4ac349e6d 100644 |
--- a/pkg/analyzer_cli/test/strong_mode_test.dart |
+++ b/pkg/analyzer_cli/test/strong_mode_test.dart |
@@ -43,7 +43,8 @@ not_main() { |
test('produces stricter errors', () async { |
var testPath = path.join(testDirectory, 'data/strong_example.dart'); |
- new Driver().start(['--options', emptyOptionsFile, '--strong', testPath]); |
+ new Driver(isTesting: true) |
+ .start(['--options', emptyOptionsFile, '--strong', testPath]); |
expect(exitCode, 3); |
var stdout = outSink.toString(); |