Merge branch 'ps/show-ref'
[git.git] / t / chainlint / if-in-loop.test
blob90c23976feccdd3f3851a39cf7b12cb5f643f628
2         for i in a b c
3         do
4                 if false
5                 then
6 # LINT: missing "&&" on "echo" okay since "exit 1" signals error explicitly
7                         echo "err"
8                         exit 1
9 # LINT: missing "&&" on "fi"
10                 fi
11                 foo
12 # LINT: missing "&&" on "done"
13         done
14         bar