Merge pull request #633 from a14n/add-test-always_put_control_body_on_new_line
add test for always_put_control_body_on_new_line
diff --git a/test/rules/always_put_control_body_on_new_line.dart b/test/rules/always_put_control_body_on_new_line.dart
index a0e39f4..67673d6 100644
--- a/test/rules/always_put_control_body_on_new_line.dart
+++ b/test/rules/always_put_control_body_on_new_line.dart
@@ -26,6 +26,11 @@
else {
}
+ if (false) { // OK
+ } else if (false) { // OK
+ } else { // OK
+ }
+
if (false) { } // OK
else return; // LINT