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

Unified Diff: tests/compiler/dart2js/message_kind_helper.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/message_kind_helper.dart
diff --git a/tests/compiler/dart2js/message_kind_helper.dart b/tests/compiler/dart2js/message_kind_helper.dart
index 28d7948a1216f16baf4ad4abd5bde5063bb5ccfe..ad469079e167da82db07d737a910396d5e6e77da 100644
--- a/tests/compiler/dart2js/message_kind_helper.dart
+++ b/tests/compiler/dart2js/message_kind_helper.dart
@@ -124,7 +124,8 @@ Future<Compiler> check(MessageTemplate template, Compiler cachedCompiler) {
Expect.isTrue(messageFound,
'${template.kind}} does not match any in\n '
'${messages.join('\n ')}');
- Expect.isFalse(compiler.reporter.hasCrashed);
+ var reporter = compiler.reporter;
+ Expect.isFalse(reporter.hasCrashed);
if (!unexpectedMessages.isEmpty) {
for (CollectedMessage message in unexpectedMessages) {
print("Unexpected message: $message");

Powered by Google App Engine
This is Rietveld 408576698