Changes

Jump to navigation Jump to search
60 bytes removed ,  18:31, 1 December 2023
m
Text replacement - "</syntaxhighlight>" to "</pre>"
<syntaxhighlight lang="xquery">
declare %unit:test function local:void() { () };
</syntaxhighlightpre>
* The following test will be successful, as the function body will raise <code>err:XPTY0004</code>:
<syntaxhighlight lang="xquery">
123 + 'strings and integers cannot be added'
};
</syntaxhighlightpre>
|}
unit:assert(db:exists('test-db'))
};
</syntaxhighlightpre>
|}
()
};
</syntaxhighlightpre>
By running {{Code|TEST tests.xqm}}, the following report will be generated (timings may differ):
</testsuite>
</testsuites>
</syntaxhighlightpre>
=Errors=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu