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

Unified Diff: tests/lib/async/catch_errors11_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_errors11_test.dart
diff --git a/tests/lib/async/catch_errors11_test.dart b/tests/lib/async/catch_errors11_test.dart
index c2d34bc8a7fcaf664205a43c8e3eddf95dfe8869..67bb9db248ddb3b8eae2fa1976a2428c2b4b6ad6 100644
--- a/tests/lib/async/catch_errors11_test.dart
+++ b/tests/lib/async/catch_errors11_test.dart
@@ -21,20 +21,20 @@ main() {
throw "timer error";
});
}).listen((x) {
- events.add(x);
- },
- onDone: () { Expect.fail("Unexpected callback"); });
+ events.add(x);
+ }, onDone: () {
+ Expect.fail("Unexpected callback");
+ });
done.future.whenComplete(() {
// Give the handler time to execute.
Timer.run(() {
Expect.listEquals([
- "catch error entry",
- "main exit",
- "future error",
- "timer error",
- ],
- events);
+ "catch error entry",
+ "main exit",
+ "future error",
+ "timer error",
+ ], events);
asyncEnd();
});
});

Powered by Google App Engine
This is Rietveld 408576698