Sign in
googlers
/
jrn
/
git
/
refs/heads/maint
/
.
/
t
/
chainlint
/
if-in-loop.test
blob: 5be9d1cfa585ee58d88169dffb7cbf5413744623 [
file
] [
log
] [
blame
]
test_expect_success
'if-in-loop'
'
(
for i in a b c
do
if false
then
# LINT: missing "&&" on "echo" okay since "exit 1" signals error explicitly
echo "err"
exit 1
# LINT: missing "&&" on "fi"
fi
foo
# LINT: missing "&&" on "done"
done
bar
)
'