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

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

Issue 152593002: Version 1.2.0-dev.3.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 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
« no previous file with comments | « tests/compiler/dart2js/override_inheritance_test.dart ('k') | tests/language/check_member_static_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/warnings_checker.dart
===================================================================
--- tests/compiler/dart2js/warnings_checker.dart (revision 32236)
+++ tests/compiler/dart2js/warnings_checker.dart (working copy)
@@ -29,7 +29,9 @@
Map<int,String> expectedWarnings = {};
int lineNo = 0;
for (String line in source.split('\n')) {
- if (line.contains('///') && line.contains('static type warning')) {
+ if (line.contains('///') &&
+ (line.contains('static type warning') ||
+ line.contains('static warning'))) {
expectedWarnings[lineNo] = line;
}
lineNo++;
« no previous file with comments | « tests/compiler/dart2js/override_inheritance_test.dart ('k') | tests/language/check_member_static_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698