diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-22 11:59:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:34 +0200 |
commit | 31e16a7413813293e3cccb6799eaa08b7af5af4e (patch) | |
tree | 45f06abbcf44652b58c3a2ad7485f64108994abd /unit-tests/test/script/lexer/script-line.test | |
parent | 8e3a8ffa6579a51f5a9351e1b99c07d3e1fbd234 (diff) |
Implement support for compound tests
Diffstat (limited to 'unit-tests/test/script/lexer/script-line.test')
-rw-r--r-- | unit-tests/test/script/lexer/script-line.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/unit-tests/test/script/lexer/script-line.test b/unit-tests/test/script/lexer/script-line.test new file mode 100644 index 0000000..b4fe3ef --- /dev/null +++ b/unit-tests/test/script/lexer/script-line.test @@ -0,0 +1,18 @@ +test.arguments += script-line + +$* <"cmd;" >>EOO # semi +'cmd' +; +<newline> +EOO + +$* <"cmd ;" >>EOO # semi-separated +'cmd' +; +<newline> +EOO + +$* <";" >>EOO # semi-only +; +<newline> +EOO |