tvl-depot/third_party/git/t/chainlint/bash-array.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
230 B
Text
Raw Normal View History

(
foo &&
# LINT: ")" in Bash array assignment not misinterpreted as subshell-closing ")"
bar=(gumbo stumbo wumbo) &&
baz
) &&
(
foo &&
# LINT: Bash array length operator not misinterpreted as comment
bar=${#bar[@]} &&
baz
)