]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/semicolon.test
Merge branch 'en/fetch-negotiation-default-fix'
[thirdparty/git.git] / t / chainlint / semicolon.test
1 (
2 # LINT: missing internal "&&" and ending "&&"
3 cat foo ; echo bar
4 # LINT: final statement before ")" only missing internal "&&"
5 cat foo ; echo bar
6 ) &&
7 (
8 # LINT: missing internal "&&"
9 cat foo ; echo bar &&
10 cat foo ; echo bar
11 ) &&
12 (
13 # LINT: not fooled by semicolon in string
14 echo "foo; bar" &&
15 cat foo; echo bar
16 ) &&
17 (
18 # LINT: semicolon unnecessary but legitimate
19 foo;
20 ) &&
21 (cd foo &&
22 for i in a b c; do
23 # LINT: semicolon unnecessary but legitimate
24 echo;
25 done)