aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/setup-teardown.test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-28 13:01:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:36 +0200
commit08ae9246421cf2b7269dc09dab2dbd5dc5d0817a (patch)
tree727dcf6be0a382a3a41f3ebf63d624ab893c786d /unit-tests/test/script/parser/setup-teardown.test
parentfac9e22e90591b4c60d0e13c10c3abccf8c96a0f (diff)
Add tests and fixes for trailing description support
Diffstat (limited to 'unit-tests/test/script/parser/setup-teardown.test')
-rw-r--r--unit-tests/test/script/parser/setup-teardown.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/setup-teardown.test b/unit-tests/test/script/parser/setup-teardown.test
index 57528ad..5d30ed4 100644
--- a/unit-tests/test/script/parser/setup-teardown.test
+++ b/unit-tests/test/script/parser/setup-teardown.test
@@ -2,10 +2,18 @@ $* <"+cmd;" 2>>EOE != 0 # semi-after-setup
testscript:1:5: error: ';' after setup command
EOE
+$* <"+cmd:" 2>>EOE != 0 # colon-after-setup
+testscript:1:5: error: ':' after setup command
+EOE
+
$* <"-cmd;" 2>>EOE != 0 # semi-after-tdown
testscript:1:5: error: ';' after teardown command
EOE
+$* <"-cmd:" 2>>EOE != 0 # colon-after-tdown
+testscript:1:5: error: ':' after teardown command
+EOE
+
$* <<EOI 2>>EOE != 0 # setup-in-test
cmd;
+cmd