| Index: tests/compiler/dart2js/mock_compiler.dart
|
| diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
|
| index 4f1ab34a161076afb08709a4c97ee03f3403b396..e7daa0185347537efea75bb00b9592ee43af8206 100644
|
| --- a/tests/compiler/dart2js/mock_compiler.dart
|
| +++ b/tests/compiler/dart2js/mock_compiler.dart
|
| @@ -363,8 +363,10 @@ class MockDeferredLoadTask extends DeferredLoadTask {
|
| }
|
| }
|
|
|
| -api.DiagnosticHandler createHandler(MockCompiler compiler, String text) {
|
| +api.DiagnosticHandler createHandler(MockCompiler compiler, String text,
|
| + {bool verbose: false}) {
|
| return (uri, int begin, int end, String message, kind) {
|
| + if (kind == api.Diagnostic.VERBOSE_INFO && !verbose) return;
|
| SourceFile sourceFile;
|
| if (uri == null) {
|
| sourceFile = new StringSourceFile('analysis', text);
|
|
|