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

18 lines
216 B
Plaintext

test_expect_success 'loop-in-if' '
(
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
)
'