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

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

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: 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/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/nav/notify/element_test.dart b/runtime/observatory/tests/observatory_ui/nav/notify/element_test.dart
index 1b647d86e595067262f0b275c78d96a130cb06d8..cbdebba190fb607c410459b2e21b5195defe76fd 100644
--- a/runtime/observatory/tests/observatory_ui/nav/notify/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/nav/notify/element_test.dart
@@ -52,11 +52,12 @@ main() {
});
group('elements', () {
test('created after attachment', () async {
- final repository = new NotificationRepositoryMock(list: [
- new ExceptionNotificationMock(exception: new Exception("ex")),
- const EventNotificationMock(event: const VMUpdateEventMock(vm: vm)),
- const EventNotificationMock(event: const VMUpdateEventMock(vm: vm))
- ]);
+ final repository =
+ new NotificationRepositoryMock(list: [
+ new ExceptionNotificationMock(exception: new Exception("ex")),
+ const EventNotificationMock(event: const VMUpdateEventMock(vm: vm)),
+ const EventNotificationMock(event: const VMUpdateEventMock(vm: vm))
+ ]);
final e = new NavNotifyElement(repository);
document.body.append(e);
await e.onRendered.first;
@@ -71,11 +72,11 @@ main() {
test('react to notifyOnPause change', () async {
final NotificationRepositoryMock repository =
new NotificationRepositoryMock(list: [
- new ExceptionNotificationMock(exception: new Exception("ex")),
- const EventNotificationMock(event: const VMUpdateEventMock()),
- const EventNotificationMock(
- event: const PauseStartEventMock(isolate: isolate))
- ]);
+ new ExceptionNotificationMock(exception: new Exception("ex")),
+ const EventNotificationMock(event: const VMUpdateEventMock()),
+ const EventNotificationMock(
+ event: const PauseStartEventMock(isolate: isolate))
+ ]);
final e = new NavNotifyElement(repository, notifyOnPause: true);
document.body.append(e);
await e.onRendered.first;

Powered by Google App Engine
This is Rietveld 408576698