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

Unified Diff: tests/language/try_catch_optimized2_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_optimized2_test.dart
diff --git a/tests/language/try_catch_optimized2_test.dart b/tests/language/try_catch_optimized2_test.dart
index a88ca8fc6bfacb62156ab3a8af94827f636f1377..7b071769ec5343dc7240ab34336fef5466bd0fc9 100644
--- a/tests/language/try_catch_optimized2_test.dart
+++ b/tests/language/try_catch_optimized2_test.dart
@@ -7,9 +7,9 @@ import "package:expect/expect.dart";
// Test allocation sinking with optimized try-catch.
-bar() { // Should not be inlined.
- try {
- } finally { }
+bar() {
+ // Should not be inlined.
+ try {} finally {}
}
foo(a) {
@@ -19,13 +19,12 @@ foo(a) {
}
try {
bar();
- } finally {
- }
+ } finally {}
return r;
}
main() {
- var a = [1,2,3];
+ var a = [1, 2, 3];
for (var i = 0; i < 20; i++) foo(a);
Expect.equals(6, foo(a));
}

Powered by Google App Engine
This is Rietveld 408576698