From c55240fb05151cae046c75a793c164d72c988db2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 6 Jan 2017 18:46:58 +0300 Subject: Tests cleanup (take 2) --- unit-tests/test/script/parser/pre-parse.test | 36 +++++++++++++++++----------- 1 file changed, 22 insertions(+), 14 deletions(-) (limited to 'unit-tests/test/script/parser/pre-parse.test') diff --git a/unit-tests/test/script/parser/pre-parse.test b/unit-tests/test/script/parser/pre-parse.test index 4057f9a..d2ae7ce 100644 --- a/unit-tests/test/script/parser/pre-parse.test +++ b/unit-tests/test/script/parser/pre-parse.test @@ -1,15 +1,23 @@ -# attribute-pair -# -$* <>EOE != 0 -x = [foo=bar] -EOI -testscript:1:5: error: unknown value attribute foo=bar -EOE +# file : unit-tests/test/script/parser/pre-parse.test +# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file -# attribute-pair-empty -# -$* <>EOE != 0 -x = [foo=] -EOI -testscript:1:5: error: unknown value attribute foo -EOE +: attribute +: +{ + : pair + : + $* <>EOE != 0 + x = [foo=bar] + EOI + testscript:1:5: error: unknown value attribute foo=bar + EOE + + : pair-empty + : + $* <>EOE != 0 + x = [foo=] + EOI + testscript:1:5: error: unknown value attribute foo + EOE +} -- cgit v1.1