aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/command-re-parse.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/parser/command-re-parse.testscript')
-rw-r--r--unit-tests/test/script/parser/command-re-parse.testscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/command-re-parse.testscript b/unit-tests/test/script/parser/command-re-parse.testscript
new file mode 100644
index 0000000..b137b0e
--- /dev/null
+++ b/unit-tests/test/script/parser/command-re-parse.testscript
@@ -0,0 +1,12 @@
+# file : unit-tests/test/script/parser/command-re-parse.testscript
+# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+: double-quote
+:
+$* <<EOI >>EOO
+x = cmd \">-\" "'<-'"
+$x
+EOI
+cmd '>-' '<-'
+EOO