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