Index: tests/language/rewrite_nested_if3_test.dart |
diff --git a/tests/language/rewrite_nested_if3_test.dart b/tests/language/rewrite_nested_if3_test.dart |
index a9fd16f035726b176a00da483b081b3de8a47c70..b985df8025eee3bde0471b970610f55df179e975 100644 |
--- a/tests/language/rewrite_nested_if3_test.dart |
+++ b/tests/language/rewrite_nested_if3_test.dart |
@@ -17,9 +17,7 @@ check_true_true(x, y) { |
} |
check_false_true(x, y) { |
- if (x) { |
- |
- } else { |
+ if (x) {} else { |
if (y) { |
return true; |
} |
@@ -30,9 +28,7 @@ check_false_true(x, y) { |
check_true_false(x, y) { |
if (x) { |
- if (y) { |
- |
- } else { |
+ if (y) {} else { |
return true; |
} |
} |
@@ -41,12 +37,8 @@ check_true_false(x, y) { |
} |
check_false_false(x, y) { |
- if (x) { |
- |
- } else { |
- if (y) { |
- |
- } else { |
+ if (x) {} else { |
+ if (y) {} else { |
return true; |
} |
} |
@@ -54,7 +46,6 @@ check_false_false(x, y) { |
return false; |
} |
- |
main() { |
Expect.equals(true, check_true_true(true, true)); |
Expect.equals(false, check_true_true(true, false)); |