| Index: tests/html/form_data_test.dart
|
| diff --git a/tests/html/form_data_test.dart b/tests/html/form_data_test.dart
|
| index cdcca7e76abaf21d5638912c48443a1510a9727c..0ddd97db2b6b8712e8ed01a92628d0bd64c9c355 100644
|
| --- a/tests/html/form_data_test.dart
|
| +++ b/tests/html/form_data_test.dart
|
| @@ -61,10 +61,10 @@ void main() {
|
| var xhr = new HttpRequest();
|
| xhr.open("POST", "http://localhost:${window.location.port}/echo");
|
|
|
| - xhr.on.load.add(expectAsync1((e) {
|
| + xhr.onLoad.listen(expectAsync1((e) {
|
| expect(xhr.responseText.contains(blobString), true);
|
| }));
|
| - xhr.on.error.add((e) {
|
| + xhr.onError.listen((e) {
|
| fail('$e');
|
| });
|
| xhr.send(form);
|
|
|