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

Unified Diff: tests/lib_strong/async/catch_errors14_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_errors14_test.dart
diff --git a/tests/lib_strong/async/catch_errors14_test.dart b/tests/lib_strong/async/catch_errors14_test.dart
index 7f75e1af2db9cdf11cd71ccccfd6abd318f6affb..8149dd3abe07f58014762447de878400d15fe018 100644
--- a/tests/lib_strong/async/catch_errors14_test.dart
+++ b/tests/lib_strong/async/catch_errors14_test.dart
@@ -23,23 +23,23 @@ main() {
throw "error $counter";
});
}).listen((x) {
- events.add(x);
- },
- onDone: () { Expect.fail("Unexpected callback"); });
+ events.add(x);
+ }, onDone: () {
+ Expect.fail("Unexpected callback");
+ });
done.future.whenComplete(() {
// Give time to complete the handlers.
Timer.run(() {
Expect.listEquals([
- "main exit",
- "error 1",
- "error 2",
- "error 3",
- "error 4",
- "error 5",
- "error 6",
- ],
- events);
+ "main exit",
+ "error 1",
+ "error 2",
+ "error 3",
+ "error 4",
+ "error 5",
+ "error 6",
+ ], events);
asyncEnd();
});
});

Powered by Google App Engine
This is Rietveld 408576698