aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/here-document.test
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/parser/here-document.test')
-rw-r--r--unit-tests/test/script/parser/here-document.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/here-document.test b/unit-tests/test/script/parser/here-document.test
index 13b070a..d6b21fd 100644
--- a/unit-tests/test/script/parser/here-document.test
+++ b/unit-tests/test/script/parser/here-document.test
@@ -1,4 +1,20 @@
+$* <<EOI >>EOO # blank-lines
+cmd <<EOF
+foo
+
+bar
+
+EOF
+EOI
+cmd <<EOF
+foo
+
+bar
+
+EOF
+EOO
+
# quote
#
# Note: they are still recognized in eval contexts.