Raw
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 '