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

Unified Diff: tests/lib_strong/html/messageevent_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/lib_strong/html/messageevent_test.dart
diff --git a/tests/lib_strong/html/messageevent_test.dart b/tests/lib_strong/html/messageevent_test.dart
index ae051f9d31508c38386eb7f10ad0e7bd962d1db3..31503fdb2a04ab2beed0341fc88783599f992b72 100644
--- a/tests/lib_strong/html/messageevent_test.dart
+++ b/tests/lib_strong/html/messageevent_test.dart
@@ -4,17 +4,20 @@ import 'package:expect/minitest.dart';
main() {
test('new MessageEvent', () {
- final event = new MessageEvent('type', cancelable: true, data: 'data',
- origin: 'origin', lastEventId: 'lastEventId');
+ final event = new MessageEvent('type',
+ cancelable: true,
+ data: 'data',
+ origin: 'origin',
+ lastEventId: 'lastEventId');
- expect(event.type, equals('type'));
- expect(event.bubbles, isFalse);
- expect(event.cancelable, isTrue);
- expect(event.data, equals('data'));
- expect(event.origin, equals('origin'));
- // IE allows setting this but just ignores it.
- // expect(event.lastEventId, equals('lastEventId'));
- expect(event.source, window);
- // TODO(antonm): accessing ports is not supported yet.
+ expect(event.type, equals('type'));
+ expect(event.bubbles, isFalse);
+ expect(event.cancelable, isTrue);
+ expect(event.data, equals('data'));
+ expect(event.origin, equals('origin'));
+ // IE allows setting this but just ignores it.
+ // expect(event.lastEventId, equals('lastEventId'));
+ expect(event.source, window);
+ // TODO(antonm): accessing ports is not supported yet.
});
}

Powered by Google App Engine
This is Rietveld 408576698