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

Unified Diff: tests/lib_strong/async/catch_errors4_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/async/catch_errors4_test.dart
diff --git a/tests/lib_strong/async/catch_errors4_test.dart b/tests/lib_strong/async/catch_errors4_test.dart
index 4508ba8998709702238f9e2ce8b3a8502eb0bec4..c25d60e1a9d9410ebe224c2326bc2f943c064ba2 100644
--- a/tests/lib_strong/async/catch_errors4_test.dart
+++ b/tests/lib_strong/async/catch_errors4_test.dart
@@ -17,17 +17,18 @@ main() {
events.add("catch error entry");
throw "catch error";
}).listen((x) {
- events.add(x);
- done.complete(true);
- },
- onDone: () { Expect.fail("Unexpected callback"); });
+ events.add(x);
+ done.complete(true);
+ }, onDone: () {
+ Expect.fail("Unexpected callback");
+ });
done.future.whenComplete(() {
- Expect.listEquals(["catch error entry",
- "main exit",
- "catch error",
- ],
- events);
+ Expect.listEquals([
+ "catch error entry",
+ "main exit",
+ "catch error",
+ ], events);
asyncEnd();
});
events.add("main exit");

Powered by Google App Engine
This is Rietveld 408576698