Sign in
code
/
git
/
refs/heads/seen
/
.
/
t
/
greplint
/
bare-grep-compound-body.test
blob: 72472edcf6ab6e9604a087e279aec13443a33a81 [
file
] [
edit
]
test_expect_success
'grep after then/do/else is flagged'
'
if true
then
grep pattern file
fi &&
while true
do
grep pattern file &&
break
done &&
if true
then
echo yes
else
grep pattern file
fi
'