Index: tests/compiler/dart2js/memory_compiler.dart |
diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart |
index 50eb22a06c383e2961d1f52818d5cd5d0734a3a0..ae3f9cb449f9475dfc6e11d03c75e1e5aae6e9df 100644 |
--- a/tests/compiler/dart2js/memory_compiler.dart |
+++ b/tests/compiler/dart2js/memory_compiler.dart |
@@ -49,10 +49,13 @@ CompilerDiagnostics createCompilerDiagnostics( |
CompilerDiagnostics handler = diagnostics; |
if (showDiagnostics) { |
if (diagnostics == null) { |
- handler = new FormattingDiagnosticHandler(provider)..verbose = verbose; |
+ handler = new FormattingDiagnosticHandler(provider) |
+ ..verbose = verbose |
+ ..autoReadFileUri = true; |
} else { |
var formattingHandler = new FormattingDiagnosticHandler(provider) |
- ..verbose = verbose; |
+ ..verbose = verbose |
+ ..autoReadFileUri = true; |
handler = new MultiDiagnostics([diagnostics, formattingHandler]); |
} |
} else if (diagnostics == null) { |