repo.or.cz
/
git
/
gitster.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'ja/doc-synopsis-markup'
[git/gitster.git]
/
t
/
chainlint
/
loop-in-if.test
blob
b0d0d393cfeb1e66a63e4263cf88c44e4993a40c
1
test_expect_success 'loop-in-if' '
2
(
3
if true
4
then
5
while true
6
do
7
# LINT: missing "&&" on "echo"
8
echo "pop"
9
echo "glup"
10
# LINT: missing "&&" on "done"
11
done
12
foo
13
# LINT: missing "&&" on "fi"
14
fi
15
bar
16
)
17
'