chainlint: match arbitrary here-docs tags rather than hard-coded names
[git.git] / t / chainlint / here-doc.test
blob8986eefe74ecf0624d85534970700159bf466ecd
1 # LINT: stitch together incomplete \-ending lines
2 # LINT: swallow here-doc to avoid false positives in content
3 boodle wobba \
4        gorgo snoot \
5        wafta snurb <<EOF &&
6 quoth the raven,
7 nevermore...
8 EOF
10 # LINT: swallow here-doc with arbitrary tag
11 cat <<-Arbitrary_Tag_42 >foo &&
12 snoz
13 boz
14 woz
15 Arbitrary_Tag_42
17 # LINT: swallow here-doc (EOF is last line of test)
18 horticulture <<\EOF
19 gomez
20 morticia
21 wednesday
22 pugsly
23 EOF