aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-06-14 17:27:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-14 17:27:41 +0300
commit9c476d4b12ba91677716fdcadfc14a5fc9859d5d (patch)
treed7e8c8cce9e8b4fa24494307eefd5a64e4515f22 /tests
parent3bd7d2ec3004471e360910124e8d23aefbea4e96 (diff)
Allow empty prefer, require, and reflect buildfile clauses for dependencies
Diffstat (limited to 'tests')
-rw-r--r--tests/manifest/testscript18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/manifest/testscript b/tests/manifest/testscript
index 50e7e51..ded4c57 100644
--- a/tests/manifest/testscript
+++ b/tests/manifest/testscript
@@ -1093,9 +1093,10 @@
\
EOF
- : no-accept-clause
+
+ : empty
:
- $* <<EOI 2>>EOE != 0
+ $* <<EOF >>EOF
: 1
name: foo
version: 2.0.0
@@ -1106,15 +1107,14 @@
{
prefer
{
- config.bar.frame=4016
}
+
+ accept (true)
}
\
- EOI
- stdin:13:1: error: accept clause expected instead of '}'
- EOE
+ EOF
- : empty
+ : no-accept-clause
:
$* <<EOI 2>>EOE != 0
: 1
@@ -1127,12 +1127,12 @@
{
prefer
{
-
+ config.bar.frame=4016
}
}
\
EOI
- stdin:11:1: error: buildfile fragment expected
+ stdin:13:1: error: accept clause expected instead of '}'
EOE
: enable-clause