Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: tests/language_strong/try_catch4_test.dart

Issue 2770063002: Revert "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language_strong/try_catch4_test.dart
diff --git a/tests/language_strong/try_catch4_test.dart b/tests/language_strong/try_catch4_test.dart
index 92842b56b8efbe57a7f50b477f1b05c1a83a1b83..7b595a136e356236fbf49bd3cdf398aadae6e1af 100644
--- a/tests/language_strong/try_catch4_test.dart
+++ b/tests/language_strong/try_catch4_test.dart
@@ -26,9 +26,7 @@ foo1() {
}
}
-doThrow() {
- throw 2;
-}
+doThrow() { throw 2; }
foo2() {
var b = false;
@@ -40,7 +38,7 @@ foo2() {
a = 8;
doThrow();
return; //# static warning
- } catch (e) {
+ } catch(e) {
b = 8 == a;
entered = true;
continue;
@@ -56,7 +54,7 @@ foo3() {
b = 8 == a; // This expression should not be GVN'ed.
try {
doThrow();
- } catch (e) {
+ } catch(e) {
a = 8;
entered = true;
return; //# static warning
@@ -95,7 +93,7 @@ foo5() {
a = 8;
doThrow();
break;
- } catch (e) {
+ } catch(e) {
b = 8 == a;
entered = true;
continue;
@@ -111,7 +109,7 @@ foo6() {
b = 8 == a; // This expression should not be GVN'ed.
try {
doThrow();
- } catch (e) {
+ } catch(e) {
a = 8;
entered = true;
break;
@@ -150,7 +148,7 @@ foo8() {
a = 8;
doThrow();
continue;
- } catch (e) {
+ } catch(e) {
b = 8 == a;
entered = true;
continue;
@@ -166,7 +164,7 @@ foo9() {
b = 8 == a; // This expression should not be GVN'ed.
try {
doThrow();
- } catch (e) {
+ } catch(e) {
a = 8;
entered = true;
continue;
« no previous file with comments | « tests/language_strong/toplevel_collision2_test.dart ('k') | tests/language_strong/try_catch_on_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698