| Index: tests/language/try_catch_test.dart
|
| diff --git a/tests/language/try_catch_test.dart b/tests/language/try_catch_test.dart
|
| index cfc68f3cf063c090b1f698405973ca8e46ccfbea..2b126e460da5366b142fee561a07c5f9551e2d99 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,6 +173,7 @@ class TryCatchTest {
|
| }
|
| }
|
|
|
| +
|
| static void testMain() {
|
| test1();
|
| test2();
|
|
|