Sign in
googlers
/
jrn
/
git
/
refs/heads/maint
/
.
/
t
/
chainlint
/
arithmetic-expansion.test
blob: 7b4c5c9a4138541f569d2844559abe033f63cf50 [
file
] [
log
] [
blame
]
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
)
'