| 1 | test_expect_success 'here-doc' ' |
| 2 | # LINT: stitch together incomplete \-ending lines |
| 3 | # LINT: swallow here-doc to avoid false positives in content |
| 4 | boodle wobba \ |
| 5 | gorgo snoot \ |
| 6 | wafta snurb <<EOF && |
| 7 | quoth the raven, |
| 8 | nevermore... |
| 9 | EOF |
| 10 | |
| 11 | # LINT: swallow here-doc with arbitrary tag |
| 12 | cat <<-Arbitrary_Tag_42 >foo && |
| 13 | snoz |
| 14 | boz |
| 15 | woz |
| 16 | Arbitrary_Tag_42 |
| 17 | |
| 18 | # LINT: swallow "quoted" here-doc |
| 19 | cat <<"zump" >boo && |
| 20 | snoz |
| 21 | boz |
| 22 | woz |
| 23 | zump |
| 24 | |
| 25 | # LINT: swallow here-doc (EOF is last line of test) |
| 26 | horticulture <<\EOF |
| 27 | gomez |
| 28 | morticia |
| 29 | wednesday |
| 30 | pugsly |
| 31 | EOF |
| 32 | ' |