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

Unified Diff: tests/lib/async/catch_errors28_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/async/catch_errors28_test.dart
diff --git a/tests/lib/async/catch_errors28_test.dart b/tests/lib/async/catch_errors28_test.dart
index de82d4b1eb52543a4986d5e0bc2b12277ddf53a2..eae954ad37dbdc3da5f46f848f7ae0e6cc75a220 100644
--- a/tests/lib/async/catch_errors28_test.dart
+++ b/tests/lib/async/catch_errors28_test.dart
@@ -24,18 +24,23 @@ main() {
events.add(counter);
});
}).listen((x) {
- events.add(x);
- },
- onDone: () { Expect.fail("Unexpected callback"); });
+ events.add(x);
+ }, onDone: () {
+ Expect.fail("Unexpected callback");
+ });
done.future.whenComplete(() {
// Give handlers time to run.
Timer.run(() {
Expect.listEquals([
- "main exit",
- 1, 2, 3, 4, 5, 6,
- ],
- events);
+ "main exit",
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ ], events);
asyncEnd();
});
});

Powered by Google App Engine
This is Rietveld 408576698