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

Unified Diff: tests/html/canvas_test.dart

Issue 226903002: tests/html: removed usage of deprecated unittest features (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 | « no previous file | tests/html/canvasrenderingcontext2d_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/canvas_test.dart
diff --git a/tests/html/canvas_test.dart b/tests/html/canvas_test.dart
index 0c849e2f8d4283839c0211655c785c30093bd5f9..307be785fd48d72959faf302275df5ea9c28f2a4 100644
--- a/tests/html/canvas_test.dart
+++ b/tests/html/canvas_test.dart
@@ -41,9 +41,7 @@ main() {
expect(img.complete, true);
}));
img.onError.listen((_) {
- guardAsync(() {
- expect(true, isFalse, reason: 'URL failed to load.');
- });
+ fail('URL failed to load.');
});
img.src = url;
});
« no previous file with comments | « no previous file | tests/html/canvasrenderingcontext2d_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698