Index: tests/lib_strong/html/cross_domain_iframe_test.dart |
diff --git a/tests/lib_strong/html/cross_domain_iframe_test.dart b/tests/lib_strong/html/cross_domain_iframe_test.dart |
index 0a234f89ac43393e8b55be9ae702b3458d620a58..9feee1567e1120e7cfc5a148849d36e805a68802 100644 |
--- a/tests/lib_strong/html/cross_domain_iframe_test.dart |
+++ b/tests/lib_strong/html/cross_domain_iframe_test.dart |
@@ -19,11 +19,14 @@ main() { |
iframe.src = crossOriginUrl; |
document.body.append(iframe); |
- window.onMessage.where((MessageEvent event) { |
- return event.origin == crossOrigin; |
- }).first.then(expectAsync((MessageEvent event) { |
- expect(event.data, equals('foobar')); |
- expect(event.source, isNotNull); |
- })); |
+ window.onMessage |
+ .where((MessageEvent event) { |
+ return event.origin == crossOrigin; |
+ }) |
+ .first |
+ .then(expectAsync((MessageEvent event) { |
+ expect(event.data, equals('foobar')); |
+ expect(event.source, isNotNull); |
+ })); |
}); |
} |