aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-20 22:01:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-20 22:01:57 +0300
commit773fbb10eb59c4e855eccf9966a6ef3a68e3e0c3 (patch)
tree55178311afbf48536088fa4a83b3bf45d8ebcf0c /tests/manifest
parent4b9c521172a2c30a84f76fcedcec37247878a24f (diff)
Get rid of variable struct
Diffstat (limited to 'tests/manifest')
-rw-r--r--tests/manifest/task.test21
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