]> git.ipfire.org Git - thirdparty/git.git/blame - t/chainlint/here-doc.test
Merge branch 'jc/receive-deny-current-branch-fix' into maint
[thirdparty/git.git] / t / chainlint / here-doc.test
CommitLineData
7b906790
ES
1# LINT: stitch together incomplete \-ending lines
2# LINT: swallow here-doc to avoid false positives in content
3boodle wobba \
4 gorgo snoot \
5 wafta snurb <<EOF &&
6quoth the raven,
7nevermore...
8EOF
9
c2c29cc0
ES
10# LINT: swallow here-doc with arbitrary tag
11cat <<-Arbitrary_Tag_42 >foo &&
12snoz
13boz
14woz
15Arbitrary_Tag_42
16
7e32a31b
ES
17# LINT: swallow 'quoted' here-doc
18cat <<'FUMP' >bar &&
19snoz
20boz
21woz
22FUMP
23
3042b6bb
ES
24# LINT: swallow "quoted" here-doc
25cat <<"zump" >boo &&
26snoz
27boz
28woz
29zump
30
7b906790
ES
31# LINT: swallow here-doc (EOF is last line of test)
32horticulture <<\EOF
33gomez
34morticia
35wednesday
36pugsly
37EOF