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

Unified Diff: tests/lib/async/catch_errors8_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_errors8_test.dart
diff --git a/tests/lib/async/catch_errors8_test.dart b/tests/lib/async/catch_errors8_test.dart
index 3390046c39a1302abcb90c4925d751b33cc18af2..459208b8d7c4dea7f8ec052d71cf993982bde14f 100644
--- a/tests/lib/async/catch_errors8_test.dart
+++ b/tests/lib/async/catch_errors8_test.dart
@@ -36,27 +36,28 @@ main() {
events.add("after inner");
throw "inner throw";
}).listen((x) {
- events.add(x);
- if (x == "inner done throw") {
- done.complete(true);
- }
- },
- onDone: () { Expect.fail("Unexpected callback"); });
+ events.add(x);
+ if (x == "inner done throw") {
+ done.complete(true);
+ }
+ }, onDone: () {
+ Expect.fail("Unexpected callback");
+ });
done.future.whenComplete(() {
- Expect.listEquals(["catch error entry",
- "catch error entry2",
- "after inner",
- "main exit",
- "catch error",
- "inner throw",
- "future error",
- "future error2",
- 499,
- "delayed error",
- "inner done throw"
- ],
- events);
+ Expect.listEquals([
+ "catch error entry",
+ "catch error entry2",
+ "after inner",
+ "main exit",
+ "catch error",
+ "inner throw",
+ "future error",
+ "future error2",
+ 499,
+ "delayed error",
+ "inner done throw"
+ ], events);
asyncEnd();
});
events.add("main exit");

Powered by Google App Engine
This is Rietveld 408576698