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/bash-array.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 / bash-array.test` 14 lines ยท 267 bytes Raw Blame History 1 test_expect_success 'bash-array' ' 2 ( 3 foo && 4 # LINT: ")" in Bash array assignment not misinterpreted as subshell-closing ")" 5 bar=(gumbo stumbo wumbo) && 6 baz 7 ) && 8 ( 9 foo && 10 # LINT: Bash array length operator not misinterpreted as comment 11 bar=${#bar[@]} && 12 baz 13 ) 14 '