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/cuddled.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 / cuddled.test` 24 lines ยท 380 bytes Raw Blame History 1 test_expect_success 'cuddled' ' 2 # LINT: first subshell statement cuddled with opening "(" 3 (cd foo && 4 bar 5 ) && 6 7 # LINT: same with missing "&&" 8 (cd foo 9 bar 10 ) && 11 12 # LINT: closing ")" cuddled with final subshell statement 13 ( 14 cd foo && 15 bar) && 16 17 # LINT: "(" and ")" cuddled with first and final subshell statements 18 (cd foo && 19 bar) && 20 21 # LINT: same with missing "&&" 22 (cd foo 23 bar) 24 '