]> git.ipfire.org Git - thirdparty/git.git/blame - t/chainlint/nested-cuddled-subshell.test
Merge branch 'js/range-diff-noprefix'
[thirdparty/git.git] / t / chainlint / nested-cuddled-subshell.test
CommitLineData
bb4efbc5
ES
1(
2# LINT: opening "(" cuddled with first nested subshell statement
3 (cd foo &&
4 bar
5 ) &&
6
7# LINT: same but "&&" missing
8 (cd foo &&
9 bar
10 )
11
12# LINT: closing ")" cuddled with final nested subshell statement
13 (
14 cd foo &&
15 bar) &&
16
17# LINT: same but "&&" missing
18 (
19 cd foo &&
20 bar)
21
22# LINT: "(" and ")" cuddled with first and final subshell statements
23 (cd foo &&
24 bar) &&
25
26# LINT: same but "&&" missing
27 (cd foo &&
28 bar)
29
30 foobar
31)