| Index: tests/language/await_exceptions_test.dart
|
| diff --git a/tests/language/await_exceptions_test.dart b/tests/language/await_exceptions_test.dart
|
| index 2b4223f11ca92f2e48ac91f1c32526780323ae32..8d597100811d68af2d626ff1e79c13089b9ef46e 100644
|
| --- a/tests/language/await_exceptions_test.dart
|
| +++ b/tests/language/await_exceptions_test.dart
|
| @@ -34,7 +34,7 @@ test1_2() async {
|
| try {
|
| await test1_1();
|
| } catch (e) {
|
| - throw e+1;
|
| + throw e + 1;
|
| }
|
| }
|
|
|
| @@ -92,8 +92,8 @@ awaitFoo() async {
|
|
|
| main() {
|
| asyncStart();
|
| - test().then((_) => awaitFoo().then(
|
| - (_) => Expect.fail("Should have thrown"),
|
| + test()
|
| + .then((_) => awaitFoo().then((_) => Expect.fail("Should have thrown"),
|
| onError: (error) => Expect.equals("Error", error)))
|
| .whenComplete(asyncEnd);
|
| }
|
|
|