Index: tests/language/async_or_generator_return_type_stacktrace_test.dart |
diff --git a/tests/language/async_or_generator_return_type_stacktrace_test.dart b/tests/language/async_or_generator_return_type_stacktrace_test.dart |
index 9326d89e2b330f86e2714a75445bed65ac7b917e..272e11045c4119c0111d512200eb9e55a3055693 100644 |
--- a/tests/language/async_or_generator_return_type_stacktrace_test.dart |
+++ b/tests/language/async_or_generator_return_type_stacktrace_test.dart |
@@ -11,25 +11,25 @@ void badReturnTypeSyncStar() sync* {} // //# 03: static type warning |
main() { |
try { |
badReturnTypeAsync(); // //# 01: continued |
- } catch(e, st) { |
+ } catch (e, st) { |
Expect.isTrue(e is TypeError, "wrong exception type"); |
- Expect.isTrue(st.toString().contains("badReturnTypeAsync"), |
- "missing frame"); |
+ Expect.isTrue( |
+ st.toString().contains("badReturnTypeAsync"), "missing frame"); |
} |
try { |
badReturnTypeAsyncStar(); // //# 02: continued |
- } catch(e, st) { |
+ } catch (e, st) { |
Expect.isTrue(e is TypeError, "wrong exception type"); |
- Expect.isTrue(st.toString().contains("badReturnTypeAsyncStar"), |
- "missing frame"); |
+ Expect.isTrue( |
+ st.toString().contains("badReturnTypeAsyncStar"), "missing frame"); |
} |
try { |
badReturnTypeSyncStar(); // //# 03: continued |
- } catch(e, st) { |
+ } catch (e, st) { |
Expect.isTrue(e is TypeError, "wrong exception type"); |
- Expect.isTrue(st.toString().contains("badReturnTypeSyncStar"), |
- "missing frame"); |
+ Expect.isTrue( |
+ st.toString().contains("badReturnTypeSyncStar"), "missing frame"); |
} |
-} |
+} |