Git fork
1test_expect_success 'cuddled' '
2# LINT: first subshell statement cuddled with opening "("
3(cd foo &&
4 bar
5) &&
6
7# LINT: same with missing "&&"
8(cd foo
9 bar
10) &&
11
12# LINT: closing ")" cuddled with final subshell statement
13(
14 cd foo &&
15 bar) &&
16
17# LINT: "(" and ")" cuddled with first and final subshell statements
18(cd foo &&
19 bar) &&
20
21# LINT: same with missing "&&"
22(cd foo
23 bar)
24'