| Index: tests/language/execute_finally5_test.dart
|
| diff --git a/tests/language/execute_finally5_test.dart b/tests/language/execute_finally5_test.dart
|
| index 37fa316da2278c60baeb265f28933c5c406aa5b6..09cbdc15579f53c0fe562e87e840d0dac566764f 100644
|
| --- a/tests/language/execute_finally5_test.dart
|
| +++ b/tests/language/execute_finally5_test.dart
|
| @@ -6,9 +6,8 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -
|
| class Helper {
|
| - Helper() : i = 0 { }
|
| + Helper() : i = 0 {}
|
|
|
| int f1(int param) {
|
| if (param == 0) {
|
| @@ -17,32 +16,32 @@ class Helper {
|
| j = func();
|
| try {
|
| i = 1;
|
| - return i; // Value of i is 1 on return.
|
| + return i; // Value of i is 1 on return.
|
| } finally {
|
| - i = i + 400; // Should get executed when we return.
|
| + i = i + 400; // Should get executed when we return.
|
| }
|
| - i = 2; // Should not get executed.
|
| + i = 2; // Should not get executed.
|
| return i;
|
| } finally {
|
| - i = i + 800; // Should get executed when we return.
|
| + i = i + 800; // Should get executed when we return.
|
| }
|
| - return i + 200; // Should not get executed.
|
| + return i + 200; // Should not get executed.
|
| }
|
| try {
|
| int j;
|
| j = func();
|
| try {
|
| i = 4;
|
| - return i; // Value of i is 1 on return.
|
| + return i; // Value of i is 1 on return.
|
| } finally {
|
| - i = i + 100; // Should get executed when we return.
|
| + i = i + 100; // Should get executed when we return.
|
| }
|
| - i = 2; // Should not get executed.
|
| + i = 2; // Should not get executed.
|
| return i;
|
| } finally {
|
| - i = i + 200; // Should get executed when we return.
|
| + i = i + 200; // Should get executed when we return.
|
| }
|
| - return i + 200; // Should not get executed.
|
| + return i + 200; // Should not get executed.
|
| }
|
|
|
| static int func() {
|
|
|