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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 368983003: Add better error reporting to utils tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months 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
« no previous file with comments | « no previous file | tests/utils/recursive_import_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/dummy_compiler_test.dart
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart
index 2405b7753bf6523befd4824ed8d59ec06a7a7ae9..2e858f0287f498f0dc923ad58c23f83ba2584502 100644
--- a/tests/utils/dummy_compiler_test.dart
+++ b/tests/utils/dummy_compiler_test.dart
@@ -61,7 +61,7 @@ main() {
if (code == null) {
throw 'Compilation failed';
}
- }, onError: (e) {
- throw 'Compilation failed: $e';
+ }, onError: (e, s) {
+ throw 'Compilation failed: $e\n$s';
}).then(asyncSuccess);
}
« no previous file with comments | « no previous file | tests/utils/recursive_import_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698