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

Unified Diff: tests/compiler/dart2js/mirrors/mirrors_reader_test.dart

Issue 1562023002: Add test of unittests. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments Created 4 years, 11 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
Index: tests/compiler/dart2js/mirrors/mirrors_reader_test.dart
diff --git a/tests/compiler/dart2js/mirrors/mirrors_reader_test.dart b/tests/compiler/dart2js/mirrors/mirrors_reader_test.dart
index 3059fd165bf13995d5af38458f05dbaeb4ea243c..ed8d8fd21ebe0bf69b56f2492bf284c71957c806 100644
--- a/tests/compiler/dart2js/mirrors/mirrors_reader_test.dart
+++ b/tests/compiler/dart2js/mirrors/mirrors_reader_test.dart
@@ -27,7 +27,8 @@ class SourceMirrorsReader extends MirrorsReader {
try {
return f();
} on SpannableAssertionFailure catch (e) {
- mirrorSystem.compiler.reportAssertionFailure(e);
+ var reporter = mirrorSystem.compiler.reporter;
+ reporter.reportAssertionFailure(e);
rethrow;
}
}

Powered by Google App Engine
This is Rietveld 408576698