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

Unified Diff: runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 years, 9 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: runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart b/runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart
index 7c621bbc4fee88b11204269693cda94f90049f4e..e653dbcd6878fa4cfcf7df776e5398ccda43d302 100644
--- a/runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/nav/notify_event/element_test.dart
@@ -12,7 +12,7 @@ main() {
NavNotifyEventElement.tag.ensureRegistration();
final event = new PauseStartEventMock(
- isolate: new IsolateMock(id: 'isolate-id', name: 'isolate-name'));
+ isolate: new IsolateMock(id: 'isolate-id', name: 'isolate-name'));
group('instantiation', () {
final e = new NavNotifyEventElement(event);
expect(e, isNotNull, reason: 'element correctly created');
@@ -42,23 +42,21 @@ main() {
e.remove();
});
test('navigation after connect', () async {
- sub = window.onPopState.listen(expectAsync((_) {}, count: 1,
- reason: 'event is fired'));
+ sub = window.onPopState
+ .listen(expectAsync((_) {}, count: 1, reason: 'event is fired'));
e.querySelector('a').click();
});
test('onDelete events (DOM)', () async {
sub = e.onDelete.listen(expectAsync((EventDeleteEvent ev) {
expect(ev, isNotNull, reason: 'event is passed');
- expect(ev.event, equals(event),
- reason: 'exception is the same');
+ expect(ev.event, equals(event), reason: 'exception is the same');
}, count: 1, reason: 'event is fired'));
e.querySelector('button').click();
});
test('onDelete events (code)', () async {
sub = e.onDelete.listen(expectAsync((EventDeleteEvent ev) {
expect(ev, isNotNull, reason: 'event is passed');
- expect(ev.event, equals(event),
- reason: 'exception is the same');
+ expect(ev.event, equals(event), reason: 'exception is the same');
}, count: 1, reason: 'event is fired'));
e.delete();
});

Powered by Google App Engine
This is Rietveld 408576698