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

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

Issue 841653004: Recover from read errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42871 Created 5 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 | « dart/tests/compiler/dart2js/missing_file_test.dart ('k') | dart/tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js/package_root_test.dart
diff --git a/dart/tests/compiler/dart2js/package_root_test.dart b/dart/tests/compiler/dart2js/package_root_test.dart
index 93327b3f9a4b08cab8c314a51e2964f0cbb7bcb7..5a173f55361fc892b4ba804aa9cc52da988c76cb 100644
--- a/dart/tests/compiler/dart2js/package_root_test.dart
+++ b/dart/tests/compiler/dart2js/package_root_test.dart
@@ -60,9 +60,7 @@ void runCompiler(Uri main) {
asyncTest(() => compiler.run(main).then((_) {
Expect.equals(1, errors.length);
- Expect.isTrue(
- errors[0].startsWith(
- "Can't read 'package:foo/foo.dart' (Error reading "));
+ Expect.isTrue(errors[0].contains("Error reading "));
}));
}
« no previous file with comments | « dart/tests/compiler/dart2js/missing_file_test.dart ('k') | dart/tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698