Index: tests/html/url_test.dart |
diff --git a/tests/html/url_test.dart b/tests/html/url_test.dart |
index c9bd37442691224b084fa2b6cb990ab1f18df606..32143990fa481f43483d25b27bf09c8858430045 100644 |
--- a/tests/html/url_test.dart |
+++ b/tests/html/url_test.dart |
@@ -42,7 +42,7 @@ main() { |
expect(url, startsWith('blob:')); |
var img = new ImageElement(); |
- img.onLoad.listen(expectAsync1((_) { |
+ img.onLoad.listen(expectAsync((_) { |
expect(img.complete, true); |
})); |
img.onError.listen((_) { |
@@ -61,7 +61,7 @@ main() { |
var img = new ImageElement(); |
// Image should fail to load since the URL was revoked. |
- img.onError.listen(expectAsync1((_) { |
+ img.onError.listen(expectAsync((_) { |
})); |
img.onLoad.listen((_) { |
guardAsync(() { |