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; |
}); |