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.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/unit-tests/test/script/parser/here-document.test b/unit-tests/test/script/parser/here-document.test
index 6f26166..7cb9474 100644
--- a/unit-tests/test/script/parser/here-document.test
+++ b/unit-tests/test/script/parser/here-document.test
@@ -128,8 +128,8 @@
:
$* <<EOI >>EOO
x = foo bar
- cmd <<EOF
- \$x
+ cmd <<"EOF"
+ $x
EOF
EOI
cmd <<EOF
@@ -142,8 +142,8 @@
:
$* <<EOI >>EOO
x = foo
- cmd <<EOF
- \$x bar \$x
+ cmd <<"EOF"
+ $x bar $x
EOF
EOI
cmd <<EOF
@@ -185,7 +185,7 @@ EOO
: Note: they are still recognized in eval contexts.
:
$* <<EOI >>EOO
-cmd <<EOF
+cmd <<"EOF"
'single'
"double"
b'o't"h"