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

Unified Diff: tests/lib_strong/async/run_zoned8_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/run_zoned8_test.dart
diff --git a/tests/lib_strong/async/run_zoned8_test.dart b/tests/lib_strong/async/run_zoned8_test.dart
index cf642d5487c49b368ca0c17325260638becd7ced..450eff641dca25ccabc0632e73bbaa794c5f3428 100644
--- a/tests/lib_strong/async/run_zoned8_test.dart
+++ b/tests/lib_strong/async/run_zoned8_test.dart
@@ -24,14 +24,18 @@ main() {
events.add(counter);
throw counter;
});
- }, onError: (e) { events.add("error: $e"); });
+ }, onError: (e) {
+ events.add("error: $e");
+ });
done.future.whenComplete(() {
Expect.listEquals([
- "main exit",
- 1, "error: 1", 2, "error: 2",
- ],
- events);
+ "main exit",
+ 1,
+ "error: 1",
+ 2,
+ "error: 2",
+ ], events);
asyncEnd();
});
events.add("main exit");

Powered by Google App Engine
This is Rietveld 408576698