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

Unified Diff: tests/language_strong/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_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();

Powered by Google App Engine
This is Rietveld 408576698