Raw
1 test_expect_success 'arithmetic-expansion' '
2 (
3 foo &&
4 # LINT: closing ")" of $((...)) not misinterpreted as subshell-closing ")"
5 bar=$((42 + 1)) &&
6 baz
7 ) &&
8 (
9 # LINT: missing "&&" on $((...))
10 bar=$((42 + 1))
11 baz
12 )
13 '