]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/block.test
Merge branch 'jk/clone-allow-bare-and-o-together'
[thirdparty/git.git] / t / chainlint / block.test
1 (
2 # LINT: missing "&&" after first "echo"
3 foo &&
4 {
5 echo a
6 echo b
7 } &&
8 bar &&
9 # LINT: missing "&&" at closing "}"
10 {
11 echo c
12 }
13 baz
14 ) &&
15
16 # LINT: ";" not allowed in place of "&&"
17 {
18 echo a; echo b
19 } &&
20 { echo a; echo b; } &&
21
22 # LINT: "}" inside string not mistaken as end of block
23 {
24 echo "${var}9" &&
25 echo "done"
26 } &&
27 finis