Index: tests/html/xhr_cross_origin_test.dart |
diff --git a/tests/html/xhr_cross_origin_test.dart b/tests/html/xhr_cross_origin_test.dart |
index 5a0f6cb61b8a5d05838b88666356466f5c0f8f15..f31ba4c1b2bd0278d4f297e13980f7bdc4fc45ac 100644 |
--- a/tests/html/xhr_cross_origin_test.dart |
+++ b/tests/html/xhr_cross_origin_test.dart |
@@ -84,7 +84,7 @@ main() { |
var url = '$host/root_dart/tests/html/xhr_cross_origin_data.txt'; |
var xhr = new HttpRequest(); |
xhr.open('GET', url, async: true); |
- var validate = expectAsync1((data) { |
+ var validate = expectAsync((data) { |
expect(data, contains('feed')); |
expect(data['feed'], contains('entry')); |
expect(data, isMap); |