Index: tests/language_strong/rewrite_nested_if2_test.dart |
diff --git a/tests/language_strong/rewrite_nested_if2_test.dart b/tests/language_strong/rewrite_nested_if2_test.dart |
index 0cc11922641ff6cf2fffbb777b6effb56406bed9..2a71680e3ed60153211d98e029168a74d6451769 100644 |
--- a/tests/language_strong/rewrite_nested_if2_test.dart |
+++ b/tests/language_strong/rewrite_nested_if2_test.dart |
@@ -14,9 +14,7 @@ check_true_true(x, y) { |
} |
check_false_true(x, y) { |
- if (x) { |
- |
- } else { |
+ if (x) {} else { |
if (y) { |
return true; |
} |
@@ -26,9 +24,7 @@ check_false_true(x, y) { |
check_true_false(x, y) { |
if (x) { |
- if (y) { |
- |
- } else { |
+ if (y) {} else { |
return true; |
} |
} |
@@ -36,19 +32,14 @@ check_true_false(x, y) { |
} |
check_false_false(x, y) { |
- if (x) { |
- |
- } else { |
- if (y) { |
- |
- } else { |
+ if (x) {} else { |
+ if (y) {} else { |
return true; |
} |
} |
return false; |
} |
- |
main() { |
Expect.equals(true, check_true_true(true, true)); |
Expect.equals(false, check_true_true(true, false)); |