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

Unified Diff: tests/language/try_catch4_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/try_catch4_test.dart
diff --git a/tests/language/try_catch4_test.dart b/tests/language/try_catch4_test.dart
index 14bba3314627ca82f4608f68f0c839958247cf46..b5b6bf20fc2f0da9bd2d5e99707cdeaf53f338f1 100644
--- a/tests/language/try_catch4_test.dart
+++ b/tests/language/try_catch4_test.dart
@@ -26,7 +26,9 @@ foo1() {
}
}
-doThrow() { throw 2; }
+doThrow() {
+ throw 2;
+}
foo2() {
var b = false;
@@ -38,7 +40,7 @@ foo2() {
a = 8;
doThrow();
return;
- } catch(e) {
+ } catch (e) {
b = 8 == a;
entered = true;
continue;
@@ -54,7 +56,7 @@ foo3() {
b = 8 == a; // This expression should not be GVN'ed.
try {
doThrow();
- } catch(e) {
+ } catch (e) {
a = 8;
entered = true;
return;
@@ -93,7 +95,7 @@ foo5() {
a = 8;
doThrow();
break;
- } catch(e) {
+ } catch (e) {
b = 8 == a;
entered = true;
continue;
@@ -109,7 +111,7 @@ foo6() {
b = 8 == a; // This expression should not be GVN'ed.
try {
doThrow();
- } catch(e) {
+ } catch (e) {
a = 8;
entered = true;
break;
@@ -148,7 +150,7 @@ foo8() {
a = 8;
doThrow();
continue;
- } catch(e) {
+ } catch (e) {
b = 8 == a;
entered = true;
continue;
@@ -164,7 +166,7 @@ foo9() {
b = 8 == a; // This expression should not be GVN'ed.
try {
doThrow();
- } catch(e) {
+ } catch (e) {
a = 8;
entered = true;
continue;

Powered by Google App Engine
This is Rietveld 408576698