Index: tests/compiler/dart2js/analyze_only_test.dart |
diff --git a/tests/compiler/dart2js/analyze_only_test.dart b/tests/compiler/dart2js/analyze_only_test.dart |
index a49cd4277d080d557f188e5fe6a3cdbca479e283..77eb7f07e26f52399f8d983db6cffa85e42a5192 100644 |
--- a/tests/compiler/dart2js/analyze_only_test.dart |
+++ b/tests/compiler/dart2js/analyze_only_test.dart |
@@ -44,7 +44,7 @@ runCompiler(String main, List<String> options, |
result.then((String code) { |
onValue(code, errors, warnings); |
}, onError: (e) { |
- throw 'Compilation failed'; |
+ throw 'Compilation failed: ${Error.safeToString(e)}'; |
}).then(asyncSuccess); |
} |