diff options
Diffstat (limited to 'unit-tests/test/script/lexer/script-line.test')
-rw-r--r-- | unit-tests/test/script/lexer/script-line.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/unit-tests/test/script/lexer/script-line.test b/unit-tests/test/script/lexer/script-line.test index 6c5038a..96eb19c 100644 --- a/unit-tests/test/script/lexer/script-line.test +++ b/unit-tests/test/script/lexer/script-line.test @@ -17,6 +17,25 @@ $* <";" >>EOO # semi-only <newline> EOO +$* <"cmd: dsc" >>EOO # colon +'cmd' +: +'dsc' +<newline> +EOO + +$* <"cmd :dsc" >>EOO # colon-separated +'cmd' +: +'dsc' +<newline> +EOO + +$* <":" >>EOO # colon-only +: +<newline> +EOO + $* <"cmd <+ 1>+" >>EOO # pass-redirect 'cmd' <+ |