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

Unified Diff: tests/language/try_catch_test.dart

Issue 2770063002: Revert "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 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();
« no previous file with comments | « tests/language/try_catch_on_syntax_test.dart ('k') | tests/language/type_check_const_function_typedef2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698