aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/here-string.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/parser/here-string.testscript')
-rw-r--r--unit-tests/test/script/parser/here-string.testscript19
1 files changed, 19 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/here-string.testscript b/unit-tests/test/script/parser/here-string.testscript
new file mode 100644
index 0000000..a9e42c0
--- /dev/null
+++ b/unit-tests/test/script/parser/here-string.testscript
@@ -0,0 +1,19 @@
+# file : unit-tests/test/script/parser/here-string.testscript
+# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+: empty
+:
+$* <<EOI >>EOO
+cmd <""
+EOI
+cmd <''
+EOO
+
+: empty-nn
+:
+$* <<EOI >>EOO
+cmd <:""
+EOI
+cmd <:''
+EOO