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

Unified Diff: tests/html/form_data_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/form_data_test.dart
diff --git a/tests/html/form_data_test.dart b/tests/html/form_data_test.dart
index 140c253a9363d9343bf24786f808ae0d53d70233..af17116dd2c315fbd2e5de4572857b168424cdbf 100644
--- a/tests/html/form_data_test.dart
+++ b/tests/html/form_data_test.dart
@@ -78,7 +78,7 @@ void main() {
xhr.open('POST',
'${window.location.protocol}//${window.location.host}/echo');
- xhr.onLoad.listen(expectAsync1((e) {
+ xhr.onLoad.listen(expectAsync((e) {
expect(xhr.responseText.contains(blobString), true);
}));
xhr.onError.listen((e) {

Powered by Google App Engine
This is Rietveld 408576698