Start the 2.46 cycle
[git.git] / t / chainlint / inline-comment.test
blob8f26856e775b569871849f62856a27013de44be3
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 ) &&
10 # LINT: "#" in string in cuddled subshell not misinterpreted as comment
11 (cd foo &&
12         flibble "not a # comment")