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

Unified Diff: tests/compiler/dart2js/exit_code_test.dart

Issue 169763003: Update dart2js diagnostics to prepare for filtering. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove optional Uri. Created 6 years, 10 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/exit_code_test.dart
diff --git a/tests/compiler/dart2js/exit_code_test.dart b/tests/compiler/dart2js/exit_code_test.dart
index b0afedd45475a7938fd91afee1d70804d5d77171..fd5c38f8331c22118650efb8a2fa10c827e2af28 100644
--- a/tests/compiler/dart2js/exit_code_test.dart
+++ b/tests/compiler/dart2js/exit_code_test.dart
@@ -88,8 +88,8 @@ class TestCompiler extends apiimpl.Compiler {
break;
case 'warning':
onTest(testMarker, testType);
- reportWarningCode(CURRENT_ELEMENT_SPANNABLE,
- MessageKind.GENERIC, {'text': marker});
+ reportWarning(CURRENT_ELEMENT_SPANNABLE,
+ MessageKind.GENERIC, {'text': marker});
break;
case 'error':
onTest(testMarker, testType);

Powered by Google App Engine
This is Rietveld 408576698