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

Unified Diff: tests/html/xhr_cross_origin_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/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);

Powered by Google App Engine
This is Rietveld 408576698