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

10 lines
271 B
Plaintext

test_expect_success 'here-doc-body-pathological' - <<\EOF
echo "outer here-doc does not allow indented end-tag"
cat >file <<-\EOF &&
but this inner here-doc
does allow indented EOF
EOF
echo "missing chain after"
echo "but this line is OK because it's the end"
EOF