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

Unified Diff: tests/lib_strong/async/catch_errors7_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_errors7_test.dart
diff --git a/tests/lib_strong/async/catch_errors7_test.dart b/tests/lib_strong/async/catch_errors7_test.dart
index 11931784175a846405ab9d8fccd75729adc00af2..43e5ff115f855388e61b930b921d91a2c44464ef 100644
--- a/tests/lib_strong/async/catch_errors7_test.dart
+++ b/tests/lib_strong/async/catch_errors7_test.dart
@@ -29,22 +29,22 @@ main() {
}
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 handlers time to execute.
Timer.run(() {
- Expect.listEquals(
- ["catch error entry",
- "main exit",
- "catch error",
- "future error",
- "future error2",
- 499,
- ],
- events);
+ Expect.listEquals([
+ "catch error entry",
+ "main exit",
+ "catch error",
+ "future error",
+ "future error2",
+ 499,
+ ], events);
asyncEnd();
});
});

Powered by Google App Engine
This is Rietveld 408576698