Index: tests/language_strong/rewrite_if_swap_test.dart |
diff --git a/tests/language_strong/rewrite_if_swap_test.dart b/tests/language_strong/rewrite_if_swap_test.dart |
index 0b515bf952e34a479a3a38611c2d93037ff6df2f..fbde49264724e7854b0259328c075bd8a5836527 100644 |
--- a/tests/language_strong/rewrite_if_swap_test.dart |
+++ b/tests/language_strong/rewrite_if_swap_test.dart |
@@ -7,27 +7,28 @@ import "package:expect/expect.dart"; |
var global = 0; |
bar() { |
- global += 1; |
+ global += 1; |
} |
+ |
baz() { |
- global += 100; |
+ global += 100; |
} |
foo(b) { |
- var old_backend_was_used; |
- if (b ? false : true) { |
- bar(); |
- bar(); |
- } else { |
- baz(); |
- baz(); |
- } |
+ var old_backend_was_used; |
+ if (b ? false : true) { |
+ bar(); |
+ bar(); |
+ } else { |
+ baz(); |
+ baz(); |
+ } |
} |
main() { |
- foo(true); |
- Expect.equals(200, global); |
+ foo(true); |
+ Expect.equals(200, global); |
- foo(false); |
- Expect.equals(202, global); |
+ foo(false); |
+ Expect.equals(202, global); |
} |