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

Unified Diff: tests/html/canvas_test.dart

Issue 218273002: Upgrading tests with unittest deprecations (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
Index: tests/html/canvas_test.dart
diff --git a/tests/html/canvas_test.dart b/tests/html/canvas_test.dart
index 2888cb5e32d3bcee75a30b39e8ba5793964fdb09..0c849e2f8d4283839c0211655c785c30093bd5f9 100644
--- a/tests/html/canvas_test.dart
+++ b/tests/html/canvas_test.dart
@@ -37,7 +37,7 @@ main() {
var url = canvas.toDataUrl();
var img = new ImageElement();
- img.onLoad.listen(expectAsync1((_) {
+ img.onLoad.listen(expectAsync((_) {
expect(img.complete, true);
}));
img.onError.listen((_) {

Powered by Google App Engine
This is Rietveld 408576698