aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/testscript.cli10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/testscript.cli b/doc/testscript.cli
index 4586432..3e79ba8 100644
--- a/doc/testscript.cli
+++ b/doc/testscript.cli
@@ -718,13 +718,18 @@ teardown:
variable-line|teardown-line
scope:
+ description?
'{'
scope-body
'}'
test:
+ description?
*((variable-line|test-line) ';')
- test-line
+ test-line (':' <text>)?
+
+description:
+ +(':' <text>)
variable-line: <variable> ('='|'+='|'=+') value-attributes? <value>
value-attributes: '[' <key-value-pairs> ']'
@@ -782,6 +787,9 @@ same time is illegal.
Here-line is like double-quoted string but recognizes newlines.
+It is an error to specify both normal (better term?) and inline descriptions
+for a test.
+
\
script:
(script-scope|script-line)*