| Index: tests/language_strong/rewrite_for_update_order_test.dart
|
| diff --git a/tests/language_strong/rewrite_for_update_order_test.dart b/tests/language_strong/rewrite_for_update_order_test.dart
|
| index 80ed9de9182175758cbd840b28fa025326b9876b..ebdbbb146ab328d78e49e08d979c12e760ca6212 100644
|
| --- a/tests/language_strong/rewrite_for_update_order_test.dart
|
| +++ b/tests/language_strong/rewrite_for_update_order_test.dart
|
| @@ -8,25 +8,26 @@ var counter = 0;
|
| var global = 0;
|
|
|
| test() {
|
| - ++counter;
|
| - return counter <= 2;
|
| + ++counter;
|
| + return counter <= 2;
|
| }
|
|
|
| first() {
|
| - global = global + 1;
|
| + global = global + 1;
|
| }
|
| +
|
| second() {
|
| - global = global * 2;
|
| + global = global * 2;
|
| }
|
|
|
| foo() {
|
| - while (test()) {
|
| - first();
|
| - second();
|
| - }
|
| + while (test()) {
|
| + first();
|
| + second();
|
| + }
|
| }
|
|
|
| main() {
|
| - foo();
|
| - Expect.equals(6, global);
|
| + foo();
|
| + Expect.equals(6, global);
|
| }
|
|
|