Merge branch 'js/rebase-reschedule-applies-only-to-interactive' into maint
[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 <<'FUMP' >bar &&
19 snoz
20 boz
21 woz
22 FUMP
23
24 # LINT: swallow "quoted" here-doc
25 cat <<"zump" >boo &&
26 snoz
27 boz
28 woz
29 zump
30
31 # LINT: swallow here-doc (EOF is last line of test)
32 horticulture <<\EOF
33 gomez
34 morticia
35 wednesday
36 pugsly
37 EOF