Skip to content

Commit 914074a

Browse files
committed
[ignore] further code cleanup in xqsuite.xql
1 parent 2523cd0 commit 914074a

File tree

1 file changed

+5
-2
lines changed
  • exist-core/src/main/resources/org/exist/xquery/lib/xqsuite

1 file changed

+5
-2
lines changed

exist-core/src/main/resources/org/exist/xquery/lib/xqsuite/xqsuite.xql

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,10 @@ declare %private function test:run-tests(
265265
}</report>
266266
)
267267
else
268-
let $argsAnnot := $meta/annotation[matches(@name, ":args?")][not(preceding-sibling::annotation[1][matches(@name, ":args?")])]
268+
let $argsAnnot :=
269+
$meta/annotation[matches(@name, ":args?")]
270+
[not(preceding-sibling::annotation[1][matches(@name, ":args?")])]
271+
269272
let $test := test:test($func, $meta, ?,
270273
$test-started-function, $test-failure-function, $test-error-function, $test-finished-function)
271274
return
@@ -281,7 +284,7 @@ declare %private function test:run-tests(
281284
: @param $meta the function description
282285
: @param $test-assumption-failed-function A callback for reporting the failure of assumptions
283286
:
284-
: @return Any assumption annotations where the asusmption did not hold true
287+
: @return Any assumption annotations where the assumption did not hold true
285288
:)
286289
declare
287290
%private

0 commit comments

Comments
 (0)