summaryrefslogtreecommitdiff
path: root/t/chainlint/loop-in-if.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/loop-in-if.expect')
-rw-r--r--t/chainlint/loop-in-if.expect12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/chainlint/loop-in-if.expect b/t/chainlint/loop-in-if.expect
new file mode 100644
index 0000000000..32e076ad1b
--- /dev/null
+++ b/t/chainlint/loop-in-if.expect
@@ -0,0 +1,12 @@
+2 (
+3 if true
+4 then
+5 while true
+6 do
+7 echo "pop" ?!LINT: missing '&&'?!
+8 echo "glup" ?!LINT: missing '|| exit 1'?!
+9 done ?!LINT: missing '&&'?!
+10 foo
+11 fi ?!LINT: missing '&&'?!
+12 bar
+13 )