Index: tests/lib/async/catch_errors28_test.dart |
diff --git a/tests/lib/async/catch_errors28_test.dart b/tests/lib/async/catch_errors28_test.dart |
index de82d4b1eb52543a4986d5e0bc2b12277ddf53a2..eae954ad37dbdc3da5f46f848f7ae0e6cc75a220 100644 |
--- a/tests/lib/async/catch_errors28_test.dart |
+++ b/tests/lib/async/catch_errors28_test.dart |
@@ -24,18 +24,23 @@ main() { |
events.add(counter); |
}); |
}).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 run. |
Timer.run(() { |
Expect.listEquals([ |
- "main exit", |
- 1, 2, 3, 4, 5, 6, |
- ], |
- events); |
+ "main exit", |
+ 1, |
+ 2, |
+ 3, |
+ 4, |
+ 5, |
+ 6, |
+ ], events); |
asyncEnd(); |
}); |
}); |