]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/here-doc.test
Merge branch 'km/help-prompt-fix'
[thirdparty/git.git] / t / chainlint / here-doc.test
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
9
10 # LINT: swallow here-doc with arbitrary tag
11 cat <<-Arbitrary_Tag_42 >foo &&
12 snoz
13 boz
14 woz
15 Arbitrary_Tag_42
16
17 # LINT: swallow "quoted" here-doc
18 cat <<"zump" >boo &&
19 snoz
20 boz
21 woz
22 zump
23
24 # LINT: swallow here-doc (EOF is last line of test)
25 horticulture <<\EOF
26 gomez
27 morticia
28 wednesday
29 pugsly
30 EOF