# file : unit-tests/test/script/parser/setup-teardown.test # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file : setup : { : followed : { : semi : $* <"+cmd;" 2>>EOE != 0 testscript:1:5: error: ';' after setup command EOE : colon : $* <"+cmd:" 2>>EOE != 0 testscript:1:5: error: ':' after setup command EOE } : after : { : test : $* <>EOE != 0 cmd +cmd EOI testscript:2:1: error: setup command after tests EOE : after-tdownt : $* <>EOE != 0 -cmd +cmd EOI testscript:2:1: error: setup command after teardown EOE } : in-test : $* <>EOE != 0 cmd; +cmd EOI testscript:2:1: error: setup command in test EOE } : tdown : { : followed : { : semi : $* <"-cmd;" 2>>EOE != 0 testscript:1:5: error: ';' after teardown command EOE : colon : $* <"-cmd:" 2>>EOE != 0 testscript:1:5: error: ':' after teardown command EOE } : in-test : $* <>EOE != 0 cmd; -cmd EOI testscript:2:1: error: teardown command in test EOE }