Start the 2.46 cycle
[git.git] / t / chainlint / block.test
blob4ab69a4afc40381561b0ccd2a4d7f1abe96c80d1
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 ) &&
16 # LINT: ";" not allowed in place of "&&"
18         echo a; echo b
19 } &&
20 { echo a; echo b; } &&
22 # LINT: "}" inside string not mistaken as end of block
24         echo "${var}9" &&
25         echo "done"
26 } &&
27 finis