diff options
Diffstat (limited to 'unit-tests/test/script')
-rw-r--r-- | unit-tests/test/script/parser/pre-parse.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/pre-parse.test b/unit-tests/test/script/parser/pre-parse.test new file mode 100644 index 0000000..4057f9a --- /dev/null +++ b/unit-tests/test/script/parser/pre-parse.test @@ -0,0 +1,15 @@ +# attribute-pair +# +$* <<EOI 2>>EOE != 0 +x = [foo=bar] +EOI +testscript:1:5: error: unknown value attribute foo=bar +EOE + +# attribute-pair-empty +# +$* <<EOI 2>>EOE != 0 +x = [foo=] +EOI +testscript:1:5: error: unknown value attribute foo +EOE |