| Index: tests/language_strong/await_exceptions_test.dart
|
| diff --git a/tests/language_strong/await_exceptions_test.dart b/tests/language_strong/await_exceptions_test.dart
|
| index f1d39a199411fe5ab3001bc0f73b5e606d8a239c..c141edc5abc86ca95077ed3b42336af20d6885f2 100644
|
| --- a/tests/language_strong/await_exceptions_test.dart
|
| +++ b/tests/language_strong/await_exceptions_test.dart
|
| @@ -33,7 +33,7 @@ test1_2() async {
|
| try {
|
| await test1_1();
|
| } catch (e) {
|
| - throw e+1;
|
| + throw e + 1;
|
| }
|
| }
|
|
|
| @@ -91,8 +91,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);
|
| }
|
|
|