Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/chainlint/if-in-loop.test # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / chainlint / if-in-loop.test` 17 lines ยท 261 bytes Raw Blame History 1 test_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 '