Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: tests/compiler/dart2js/compiler_helper.dart

Issue 1415463022: Use DiagnosticMessage in MockCompiler. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/compiler_helper.dart
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
index 612e124679882267974830c6896a2fd36c86acbd..e0a69f1790928115e4441d0de0fedba56e088e89 100644
--- a/tests/compiler/dart2js/compiler_helper.dart
+++ b/tests/compiler/dart2js/compiler_helper.dart
@@ -148,7 +148,8 @@ Future<String> compileAll(String code,
compiler.diagnosticHandler = createHandler(compiler, code);
return compiler.run(uri).then((compilationSucceded) {
Expect.isTrue(compilationSucceded,
- 'Unexpected compilation error(s): ${compiler.errors}');
+ 'Unexpected compilation error(s): '
+ '${compiler.diagnosticCollector.errors}');
return outputCollector.getOutput('', 'js');
});
}

Powered by Google App Engine
This is Rietveld 408576698