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

Unified Diff: tests/lib/async/stack_trace24_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/stack_trace24_test.dart
diff --git a/tests/lib/async/stack_trace24_test.dart b/tests/lib/async/stack_trace24_test.dart
index 929b42d561cc8cf461c8270e749af1ca55246151..81fa3d2e26437300bea93669e5a8ef987dc638e2 100644
--- a/tests/lib/async/stack_trace24_test.dart
+++ b/tests/lib/async/stack_trace24_test.dart
@@ -13,14 +13,14 @@ main() {
controller.close();
});
asyncStart();
- controller.stream
- .map((e) { throw "error"; })
- .listen((_) { throw "should never be reached"; },
- onError: (e, st) {
- Expect.equals("error", e);
- Expect.isNotNull(st);
- },
- onDone: () {
- asyncEnd();
- });
+ controller.stream.map((e) {
+ throw "error";
+ }).listen((_) {
+ throw "should never be reached";
+ }, onError: (e, st) {
+ Expect.equals("error", e);
+ Expect.isNotNull(st);
+ }, onDone: () {
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698