Index: tests/lib/async/catch_errors5_test.dart |
diff --git a/tests/lib/async/catch_errors5_test.dart b/tests/lib/async/catch_errors5_test.dart |
index 9550546d5466cdf648a97004e8f5c8219372da41..ef2387815786b618b5f3477e38f6e7fc8681f3a7 100644 |
--- a/tests/lib/async/catch_errors5_test.dart |
+++ b/tests/lib/async/catch_errors5_test.dart |
@@ -20,19 +20,20 @@ main() { |
errorFuture.whenComplete(() => done.complete(true)); |
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 some time for the event listener to execute. |
Timer.run(() { |
- Expect.listEquals(["catch error entry", |
- "main exit", |
- "catch error", |
- "future error", |
- ], |
- events); |
+ Expect.listEquals([ |
+ "catch error entry", |
+ "main exit", |
+ "catch error", |
+ "future error", |
+ ], events); |
asyncEnd(); |
}); |
}); |