tvl-depot/third_party/git/t/chainlint/arithmetic-expansion.test
2020-01-11 23:40:29 +00:00

11 lines
174 B
Text

(
foo &&
# LINT: closing ")" of $((...)) not misinterpreted as subshell-closing ")"
bar=$((42 + 1)) &&
baz
) &&
(
# LINT: missing "&&" on $((...))
bar=$((42 + 1))
baz
)