tvl-depot/third_party/git/t/chainlint/if-in-loop.test

16 lines
179 B
Text
Raw Normal View History

(
for i in a b c
do
if false
then
# LINT: missing "&&" on 'echo'
echo "err"
exit 1
# LINT: missing "&&" on 'fi'
fi
foo
# LINT: missing "&&" on 'done'
done
bar
)