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

Unified Diff: dart/tests/compiler/dart2js/import_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/pkg/compiler/lib/src/warnings.dart ('k') | dart/tests/compiler/dart2js/message_kind_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js/import_test.dart
diff --git a/dart/tests/compiler/dart2js/import_test.dart b/dart/tests/compiler/dart2js/import_test.dart
index 2fce82d91948d1026a40a5026ebe677e43b0e1b5..aeaa46907f103e9474f15671820e75b5c98aebc4 100644
--- a/dart/tests/compiler/dart2js/import_test.dart
+++ b/dart/tests/compiler/dart2js/import_test.dart
@@ -33,9 +33,7 @@ testMissingImports() {
var compiler = compilerFor(MEMORY_SOURCE_FILES, diagnosticHandler: collector);
asyncTest(() => compiler.run(Uri.parse('memory:main.dart')).then((_) {
Expect.equals(4, collector.errors.length);
- // TODO(johnniwinther): Expect 1 warning when analysis of programs with load
- // failures is reenabled.
- Expect.equals(0, collector.warnings.length);
+ Expect.equals(1, collector.warnings.length);
}));
}
« no previous file with comments | « dart/pkg/compiler/lib/src/warnings.dart ('k') | dart/tests/compiler/dart2js/message_kind_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698