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

Unified Diff: tests/language_strong/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_strong/try_catch_optimized2_test.dart
diff --git a/tests/language_strong/try_catch_optimized2_test.dart b/tests/language_strong/try_catch_optimized2_test.dart
index aa7a9f3f2fa225e674a28bfd23ade29c5852b59c..195aeb5be41c501027b6a9e231cde7cf918c416c 100644
--- a/tests/language_strong/try_catch_optimized2_test.dart
+++ b/tests/language_strong/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