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

Unified Diff: pkg/analyzer/test/parse_compilation_unit_test.dart

Issue 189443009: Analzyzer test fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « pkg/analyzer/test/error_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/parse_compilation_unit_test.dart
diff --git a/pkg/analyzer/test/parse_compilation_unit_test.dart b/pkg/analyzer/test/parse_compilation_unit_test.dart
index 91bb9e9be6fd6e53d15f955d19c121bf7310e750..4c2ad3bac6cd462fdeb5aa5a4b70aa94833a69e3 100644
--- a/pkg/analyzer/test/parse_compilation_unit_test.dart
+++ b/pkg/analyzer/test/parse_compilation_unit_test.dart
@@ -17,7 +17,7 @@ void main() {
name: 'test.dart');
}, throwsA(predicate((error) {
return error is AnalyzerErrorGroup &&
- error.toString().contains("line 1 of test.dart");
+ error.toString().contains("Error in test.dart: Expected to find ';'");
})));
});
@@ -26,7 +26,7 @@ void main() {
parseCompilationUnit("void main() => print('Hello, world!')");
}, throwsA(predicate((error) {
return error is AnalyzerErrorGroup &&
- error.toString().contains("line 1 of <unknown source>");
+ error.toString().contains("Error in <unknown source>: Expected to find ';'");
})));
});
}
« no previous file with comments | « pkg/analyzer/test/error_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698