Skip to content

Commit b2806a1

Browse files
authored
Merge pull request #243 from eXist-db/xqsuite-assertError-regex
Correct definition of %test:assertError in xqsuite.xml
2 parents 87ca359 + 33cd715 commit b2806a1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/xar-resources/data/xqsuite/xqsuite.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,10 @@
136136
</listitem>
137137
</varlistentry>
138138
<varlistentry>
139-
<term><code>%test:assertError($errString)</code></term>
139+
<term><code>%test:assertError($err)</code></term>
140140
<listitem>
141141
<para>Evaluating the tested function should result in a dynamic error. If a value is
142-
given, it should either be a string contained in the error description or correspond to
143-
the error code of the dynamic error.</para>
144-
142+
given for <code>$err</code>, it should either be: 1) the error code of the dynamic error, or 2) a regular expression that matches the error description.</para>
145143
</listitem>
146144
</varlistentry>
147145
<varlistentry>

0 commit comments

Comments
 (0)