Merge branch 'rs/sha1-file-close-mapped-file-on-error'
[git] / t / chainlint / if-in-loop.test
1 (
2         for i in a b c
3         do
4                 if false
5                 then
6 # LINT: missing "&&" on 'echo'
7                         echo "err"
8                         exit 1
9 # LINT: missing "&&" on 'fi'
10                 fi
11                 foo
12 # LINT: missing "&&" on 'done'
13         done
14         bar
15 )