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

Unified Diff: tests/language/try_catch_regress_27483_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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_regress_27483_test.dart
diff --git a/tests/language/try_catch_regress_27483_test.dart b/tests/language/try_catch_regress_27483_test.dart
index 4da202f1d6ee2a99c3f81eef5c22b71afdc0cb77..c2768572f861621677c5bb479873f7b1dbf0f061 100644
--- a/tests/language/try_catch_regress_27483_test.dart
+++ b/tests/language/try_catch_regress_27483_test.dart
@@ -16,13 +16,11 @@ m1(int b) {
if (b == 1) throw 123;
}
-
@noInline
m2(int b) {
if (b == 2) throw 456;
}
-
@noInline
test(b) {
var state = 0;
@@ -37,12 +35,12 @@ test(b) {
if (b == 2 && state != 2) throw "fail2";
if (b == 3 && state != 3) throw "fail3";
return e;
- }
+ }
return "no throw";
}
main() {
- for (var i=0; i<300; i++) {
+ for (var i = 0; i < 300; i++) {
Expect.equals("no throw", test(0));
}
Expect.equals("no throw", test(0));

Powered by Google App Engine
This is Rietveld 408576698