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

Unified Diff: tests/utils/source_mirrors_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 | « tests/utils/recursive_import_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/source_mirrors_test.dart
diff --git a/tests/utils/source_mirrors_test.dart b/tests/utils/source_mirrors_test.dart
index c61fafb116ed5dccc9a35a2a1ab0a20a414e8128..a29da99bf9f3d3c09d8e02ce75f81dfa52396238 100644
--- a/tests/utils/source_mirrors_test.dart
+++ b/tests/utils/source_mirrors_test.dart
@@ -30,7 +30,7 @@ main() {
print(' $name:$declaration');
});
});
- }, onError: (e) {
- throw 'Analysis failed';
+ }, onError: (e, s) {
+ throw 'Analysis failed: $e\n$s';
}).then(asyncSuccess);
}
« no previous file with comments | « tests/utils/recursive_import_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698