trace2: t/helper/test-trace2, t0210.sh, t0211.sh, t0212.sh
[git] / t / chainlint / bash-array.test
1 (
2         foo &&
3 # LINT: ")" in Bash array assignment not misinterpreted as subshell-closing ")"
4         bar=(gumbo stumbo wumbo) &&
5         baz
6 ) &&
7 (
8         foo &&
9 # LINT: Bash array length operator not misinterpreted as comment
10         bar=${#bar[@]} &&
11         baz
12 )