Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index ae06d458c7279f3e6474ec51b2536e51a260dc48..11b450de8045681a87bcd4e055a79765fdc7407e 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -101,7 +101,7 @@ class MockCompiler extends Compiler { |
trustTypeAnnotations: trustTypeAnnotations, |
trustJSInteropTypeAnnotations: trustJSInteropTypeAnnotations, |
diagnosticOptions: |
- new DiagnosticOptions(showPackageWarnings: true), |
+ new DiagnosticOptions(shownPackageWarnings: const []), |
outputProvider: new LegacyCompilerOutput(outputProvider)) { |
this.disableInlining = disableInlining; |