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

Unified Diff: tests/html/cross_domain_iframe_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/cross_domain_iframe_test.dart
diff --git a/tests/html/cross_domain_iframe_test.dart b/tests/html/cross_domain_iframe_test.dart
index 0a234f89ac43393e8b55be9ae702b3458d620a58..9feee1567e1120e7cfc5a148849d36e805a68802 100644
--- a/tests/html/cross_domain_iframe_test.dart
+++ b/tests/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);
+ }));
});
}

Powered by Google App Engine
This is Rietveld 408576698