repo.or.cz
/
git
/
gitster.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'ja/doc-synopsis-markup'
[git/gitster.git]
/
t
/
chainlint
/
arithmetic-expansion.test
blob
7b4c5c9a4138541f569d2844559abe033f63cf50
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
'