Index: tests/language_strong/async_throw_in_catch_test.dart |
diff --git a/tests/language_strong/async_throw_in_catch_test.dart b/tests/language_strong/async_throw_in_catch_test.dart |
index 700621db74962891e160dea69080d1658c14ee0b..ef6f9490dd8d56a69c9fcb5df2daf3f49362476b 100644 |
--- a/tests/language_strong/async_throw_in_catch_test.dart |
+++ b/tests/language_strong/async_throw_in_catch_test.dart |
@@ -86,17 +86,16 @@ foo4(Tracer tracer) async { |
await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
- } catch(error) { |
+ } catch (error) { |
tracer.trace("b"); |
Expect.equals("Error", error); |
throw "Error2"; |
} |
- } catch(error) { |
+ } catch (error) { |
Expect.equals("Error2", error); |
tracer.trace("c"); |
} |
tracer.trace("d"); |
- |
} |
foo5(Tracer tracer) async { |
@@ -106,7 +105,7 @@ foo5(Tracer tracer) async { |
await new Future.value(3); //# forceAwait: continued |
tracer.trace("b"); |
throw "Error"; |
- } catch(error) { |
+ } catch (error) { |
tracer.trace("c"); |
Expect.equals("Error", error); |
throw "Error2"; |
@@ -115,7 +114,6 @@ foo5(Tracer tracer) async { |
tracer.trace("d"); |
} |
tracer.trace("e"); |
- |
} |
foo6(Tracer tracer) async { |
@@ -124,7 +122,7 @@ foo6(Tracer tracer) async { |
await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
- } catch(error) { |
+ } catch (error) { |
tracer.trace("b"); |
Expect.equals("Error", error); |
throw "Error2"; |
@@ -132,7 +130,7 @@ foo6(Tracer tracer) async { |
tracer.trace("c"); |
throw "Error3"; |
} |
- } catch(error) { |
+ } catch (error) { |
tracer.trace("d"); |
Expect.equals("Error3", error); |
} |
@@ -145,7 +143,7 @@ foo7(Tracer tracer) async { |
await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
- } catch(error) { |
+ } catch (error) { |
Expect.equals("Error", error); |
tracer.trace("b"); |
throw "Error2"; |
@@ -165,7 +163,7 @@ foo8(Tracer tracer) async { |
await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
- } catch(error) { |
+ } catch (error) { |
Expect.equals("Error", error); |
tracer.trace("b"); |
return; |
@@ -181,12 +179,12 @@ foo8(Tracer tracer) async { |
foo9(Tracer tracer) async { |
try { |
- while(true) { |
+ while (true) { |
try { |
await new Future.value(3); //# forceAwait: continued |
tracer.trace("a"); |
throw "Error"; |
- } catch(error) { |
+ } catch (error) { |
Expect.equals("Error", error); |
tracer.trace("b"); |
return; |
@@ -215,7 +213,7 @@ foo10(Tracer tracer) async { |
try { |
await new Future.value(3); // //# forceAwait: continued |
throw "Error2"; |
- } catch(error) { |
+ } catch (error) { |
tracer.trace("c"); |
} finally { |
tracer.trace("d"); |
@@ -242,14 +240,14 @@ foo10(Tracer tracer) async { |
foo11(Tracer tracer) async { |
try { |
bool firstTime = true; |
- while(true) { |
+ while (true) { |
tracer.trace("a"); |
if (firstTime) { |
try { |
await new Future.value(3); //# forceAwait: continued |
tracer.trace("b"); |
throw "Error"; |
- } catch(error) { |
+ } catch (error) { |
Expect.equals("Error", error); |
tracer.trace("c"); |
firstTime = false; |
@@ -271,14 +269,14 @@ foo11(Tracer tracer) async { |
foo12(Tracer tracer) async { |
try { |
bool firstTime = true; |
- while(true) { |
+ while (true) { |
tracer.trace("a"); |
if (firstTime) { |
try { |
await new Future.value(3); //# forceAwait: continued |
tracer.trace("b"); |
throw "Error"; |
- } catch(error) { |
+ } catch (error) { |
Expect.equals("Error", error); |
tracer.trace("c"); |
firstTime = false; |
@@ -335,7 +333,7 @@ foo14(Tracer tracer) async { |
try { |
await new Future.value(3); // //# forceAwait: continued |
throw "Error2"; |
- } catch(error) { |
+ } catch (error) { |
tracer.trace("c"); |
} finally { |
tracer.trace("d"); |
@@ -361,7 +359,7 @@ foo15(Tracer tracer) async { |
try { |
await new Future.value(3); // //# forceAwait: continued |
throw "Error2"; |
- } catch(error) { |
+ } catch (error) { |
tracer.trace("c"); |
} finally { |
tracer.trace("d"); |
@@ -388,7 +386,7 @@ foo16(Tracer tracer) async { |
try { |
await new Future.value(3); // //# forceAwait: continued |
throw "Error2"; |
- } catch(error) { |
+ } catch (error) { |
tracer.trace("c"); |
} finally { |
tracer.trace("d"); |
@@ -426,7 +424,7 @@ foo17(Tracer tracer) async { |
foo18(Tracer tracer) async { |
try { |
- tracer.trace("a"); |
+ tracer.trace("a"); |
} finally { |
try { |
tracer.trace("b"); |
@@ -474,4 +472,4 @@ test() async { |
void main() { |
asyncTest(test); |
-} |
+} |