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((_) { |