diff options
Diffstat (limited to 't/chainlint/here-doc-body-pathological.expect')
| -rw-r--r-- | t/chainlint/here-doc-body-pathological.expect | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/chainlint/here-doc-body-pathological.expect b/t/chainlint/here-doc-body-pathological.expect new file mode 100644 index 0000000000..2f8ea03a47 --- /dev/null +++ b/t/chainlint/here-doc-body-pathological.expect @@ -0,0 +1,7 @@ +2 echo "outer here-doc does not allow indented end-tag" ?!LINT: missing '&&'?! +3 cat >file <<-\EOF && +4 but this inner here-doc +5 does allow indented EOF +6 EOF +7 echo "missing chain after" ?!LINT: missing '&&'?! +8 echo "but this line is OK because it's the end" |
