git/t/chainlint/loop-in-if.test

16 lines
179 B
Plaintext

(
if true
then
while true
do
# LINT: missing "&&" on "echo"
echo "pop"
echo "glup"
# LINT: missing "&&" on "done"
done
foo
# LINT: missing "&&" on "fi"
fi
bar
)