| 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 f31ba4c1b2bd0278d4f297e13980f7bdc4fc45ac..16e35cd543e2e15e68be6a4d40132d8bd743ffc3 100644
|
| --- a/tests/html/xhr_cross_origin_test.dart
|
| +++ b/tests/html/xhr_cross_origin_test.dart
|
| @@ -90,11 +90,9 @@ main() {
|
| expect(data, isMap);
|
| });
|
| xhr.onReadyStateChange.listen((e) {
|
| - guardAsync(() {
|
| - if (xhr.readyState == HttpRequest.DONE) {
|
| - validate(JSON.decode(xhr.response));
|
| - }
|
| - });
|
| + if (xhr.readyState == HttpRequest.DONE) {
|
| + validate(JSON.decode(xhr.response));
|
| + }
|
| });
|
| xhr.send();
|
| });
|
|
|