Index: tests/language/async_rethrow_test.dart |
diff --git a/tests/language/async_rethrow_test.dart b/tests/language/async_rethrow_test.dart |
index 07120056adec8ae173bd4d24fe0b9dc9125c8ce9..9ed117c6ead847ad3aaeb23bb334072b2b9c96a6 100644 |
--- a/tests/language/async_rethrow_test.dart |
+++ b/tests/language/async_rethrow_test.dart |
@@ -27,18 +27,23 @@ rethrowString() async { |
testThrow() { |
Future f = throwString(); |
- f.then((v) { Expect.fail("Exception not thrown"); }, |
- onError: (e) { Expect.equals(exceptionString, e);}); |
+ f.then((v) { |
+ Expect.fail("Exception not thrown"); |
+ }, onError: (e) { |
+ Expect.equals(exceptionString, e); |
+ }); |
} |
- |
testRethrow() { |
Future f = rethrowString(); |
- f.then((v) { Expect.fail("Exception not thrown"); }, |
- onError: (e) { Expect.equals(exceptionString, e);}); |
+ f.then((v) { |
+ Expect.fail("Exception not thrown"); |
+ }, onError: (e) { |
+ Expect.equals(exceptionString, e); |
+ }); |
} |
main() { |
testThrow(); |
testRethrow(); |
-} |
+} |