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