summaryrefslogtreecommitdiffstats
path: root/t/chainlint/if-condition-split.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/chainlint/if-condition-split.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/chainlint/if-condition-split.test b/t/chainlint/if-condition-split.test
new file mode 100644
index 0000000..240daa9
--- /dev/null
+++ b/t/chainlint/if-condition-split.test
@@ -0,0 +1,8 @@
+# LINT: "if" condition split across multiple lines at "&&" or "||"
+if bob &&
+ marcia ||
+ kevin
+then
+ echo "nomads"
+ echo "for sure"
+fi