Index: pkg/analyzer_cli/test/super_mixin_test.dart |
diff --git a/pkg/analyzer_cli/test/super_mixin_test.dart b/pkg/analyzer_cli/test/super_mixin_test.dart |
index d5cec87b380244dcaae64a3a4bcd8376975e1989..56903f0c1ef8108a1160076baa33ce80daf98144 100644 |
--- a/pkg/analyzer_cli/test/super_mixin_test.dart |
+++ b/pkg/analyzer_cli/test/super_mixin_test.dart |
@@ -43,7 +43,7 @@ void main() { |
test('produces errors when option absent', () async { |
var testPath = path.join(testDirectory, 'data/super_mixin_example.dart'); |
- await new Driver().start([testPath]); |
+ await new Driver(isTesting: true).start([testPath]); |
expect(exitCode, 3); |
var stdout = outSink.toString(); |
@@ -61,7 +61,7 @@ void main() { |
test('produces no errors when option present', () async { |
var testPath = path.join(testDirectory, 'data/super_mixin_example.dart'); |
- await new Driver().start(['--supermixin', testPath]); |
+ await new Driver(isTesting: true).start(['--supermixin', testPath]); |
expect(exitCode, 0); |
var stdout = outSink.toString(); |