]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/inline-comment.test
Merge branch 'jc/receive-deny-current-branch-fix' into maint
[thirdparty/git.git] / t / chainlint / inline-comment.test
1 (
2 # LINT: swallow inline comment (leaving command intact)
3 foobar && # comment 1
4 # LINT: mispositioned "&&" (correctly) swallowed with comment
5 barfoo # wrong position for &&
6 # LINT: "#" in string not misinterpreted as comment
7 flibble "not a # comment"
8 ) &&
9
10 # LINT: "#" in string in cuddled subshell not misinterpreted as comment
11 (cd foo &&
12 flibble "not a # comment")