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

Unified Diff: tests/language/try_catch_test.dart

Issue 2768073002: 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/try_catch_test.dart
diff --git a/tests/language/try_catch_test.dart b/tests/language/try_catch_test.dart
index 2b126e460da5366b142fee561a07c5f9551e2d99..cfc68f3cf063c090b1f698405973ca8e46ccfbea 100644
--- a/tests/language/try_catch_test.dart
+++ b/tests/language/try_catch_test.dart
@@ -5,11 +5,11 @@
import "package:expect/expect.dart";
-class MyException { }
+class MyException {}
-class MyException1 extends MyException { }
+class MyException1 extends MyException {}
-class MyException2 extends MyException { }
+class MyException2 extends MyException {}
class TryCatchTest {
static void test1() {
@@ -142,7 +142,7 @@ class TryCatchTest {
try {
throw "up";
} on String catch (e) {
- var e = 1; // ok, shadows exception variable.
+ var e = 1; // ok, shadows exception variable.
Expect.equals(1, e);
}
}
@@ -173,7 +173,6 @@ class TryCatchTest {
}
}
-
static void testMain() {
test1();
test2();

Powered by Google App Engine
This is Rietveld 408576698