Skip to content

Commit 421986c

Browse files
duncdrumjoewiz
authored andcommitted
add assertXPath to list of supported annotations
1 parent 811abb7 commit 421986c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

data/xqsuite.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,13 @@ function fd:simple-date($date as xs:date) as xs:string {
185185
by the tested function.</para>
186186
</listitem>
187187
</varlistentry>
188+
<varlistentry>
189+
<term>%test:assertXPath($path-as-string)</term>
190+
<listitem>
191+
<para>Tests if the return value of the tested function contains the given XPath <code>$path-as-string</code>.
192+
</para>
193+
</listitem>
194+
</varlistentry>
188195
<varlistentry>
189196
<term>%test:pending</term>
190197
<listitem>

0 commit comments

Comments
 (0)