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

Unified Diff: tests/lib_strong/async/catch_errors5_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_errors5_test.dart
diff --git a/tests/lib_strong/async/catch_errors5_test.dart b/tests/lib_strong/async/catch_errors5_test.dart
index 9550546d5466cdf648a97004e8f5c8219372da41..ef2387815786b618b5f3477e38f6e7fc8681f3a7 100644
--- a/tests/lib_strong/async/catch_errors5_test.dart
+++ b/tests/lib_strong/async/catch_errors5_test.dart
@@ -20,19 +20,20 @@ main() {
errorFuture.whenComplete(() => done.complete(true));
throw "catch error";
}).listen((x) {
- events.add(x);
- },
- onDone: () { Expect.fail("Unexpected callback"); });
+ events.add(x);
+ }, onDone: () {
+ Expect.fail("Unexpected callback");
+ });
done.future.whenComplete(() {
// Give some time for the event listener to execute.
Timer.run(() {
- Expect.listEquals(["catch error entry",
- "main exit",
- "catch error",
- "future error",
- ],
- events);
+ Expect.listEquals([
+ "catch error entry",
+ "main exit",
+ "catch error",
+ "future error",
+ ], events);
asyncEnd();
});
});

Powered by Google App Engine
This is Rietveld 408576698