git/t/chainlint/here-doc-body.test

10 lines
235 B
Plaintext

test_expect_success 'here-doc-body' - <<\EOT
echo "missing chain before"
cat >file <<-\EOF &&
inside inner here-doc
these are not shell commands
EOF
echo "missing chain after"
echo "but this line is OK because it's the end"
EOT