The eleventh batch
[git/gitster.git] / t / chainlint / loop-in-if.test
blobb0d0d393cfeb1e66a63e4263cf88c44e4993a40c
1 test_expect_success 'loop-in-if' '
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