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