diff options
Diffstat (limited to 'unit-tests/test/script/lexer/variable-line.test')
-rw-r--r-- | unit-tests/test/script/lexer/variable-line.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/unit-tests/test/script/lexer/variable-line.test b/unit-tests/test/script/lexer/variable-line.test new file mode 100644 index 0000000..543c6f9 --- /dev/null +++ b/unit-tests/test/script/lexer/variable-line.test @@ -0,0 +1,18 @@ +test.arguments += variable-line + +$* <"cmd;" >>EOO # semi +'cmd' +; +<newline> +EOO + +$* <"cmd ;" >>EOO # semi-separated +'cmd' +; +<newline> +EOO + +$* <";" >>EOO # semi-only +; +<newline> +EOO |