interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / chainlint / if-in-loop.test

17 lines · 261 bytes Raw Blame History
1test_expect_success 'if-in-loop' '
2(
3 for i in a b c
4 do
5 if false
6 then
7# LINT: missing "&&" on "echo" okay since "exit 1" signals error explicitly
8 echo "err"
9 exit 1
10# LINT: missing "&&" on "fi"
11 fi
12 foo
13# LINT: missing "&&" on "done"
14 done
15 bar
16)
17'