]> git.ipfire.org Git - thirdparty/git.git/blame - t/chainlint/block.test
The ninth batch
[thirdparty/git.git] / t / chainlint / block.test
CommitLineData
bb4efbc5 1(
1ad0780a 2# LINT: missing "&&" after first "echo"
bb4efbc5
ES
3 foo &&
4 {
5 echo a
6 echo b
7 } &&
8 bar &&
9# LINT: missing "&&" at closing "}"
10 {
11 echo c
12 }
13 baz
56066523
ES
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} &&
27finis