diff options
Diffstat (limited to 'tests/manifest')
-rw-r--r-- | tests/manifest/task.test | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/tests/manifest/task.test b/tests/manifest/task.test index cbb4598..f2afd9c 100644 --- a/tests/manifest/task.test +++ b/tests/manifest/task.test @@ -198,10 +198,21 @@ test.options += -t : bad-var : - $* <<EOI 2>'stdin:2:12: error: invalid task configuration: no variable value' == 1 - : 1 - config: abc xyz=1 - EOI + { + : no-value + : + $* <<EOI 2>'stdin:2:9: error: invalid task configuration: no variable value' == 1 + : 1 + config: abc xyz=1 + EOI + + : no-assignment + : + $* <<EOI 2>'stdin:2:9: error: invalid task configuration: expected variable assignment' == 1 + : 1 + config: 'abc xyz'=1 + EOI + } : multiline : @@ -217,7 +228,7 @@ test.options += -t : bad-var : - $* <<EOI 2>'stdin:3:4: error: invalid task configuration: no variable value' == 1 + $* <<EOI 2>'stdin:3:1: error: invalid task configuration: no variable value' == 1 : 1 config: \ abc xyz=1 |