Index: tests/language_strong/try_catch_test.dart |
diff --git a/tests/language_strong/try_catch_test.dart b/tests/language_strong/try_catch_test.dart |
index f7d7e97938f4071bdfb461462b079aa1736b5b12..bce28ced8d9c6469748ea1dae1ad7adc8a8a0961 100644 |
--- a/tests/language_strong/try_catch_test.dart |
+++ b/tests/language_strong/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); |
} |
} |
@@ -172,7 +172,6 @@ class TryCatchTest { |
Expect.fail("unreachable"); |
} |
} |
- |
static void testMain() { |
test1(); |