Skip to content

Commit

Permalink
[ignore] further code cleanup in xqsuite.xql
Browse files Browse the repository at this point in the history
  • Loading branch information
line-o committed Apr 12, 2022
1 parent 21dbbc6 commit f4e8fc7
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@ declare %private function test:run-tests(
}</report>
)
else
let $argsAnnot := $meta/annotation[matches(@name, ":args?")][not(preceding-sibling::annotation[1][matches(@name, ":args?")])]
let $argsAnnot :=
$meta/annotation[matches(@name, ":args?")]
[not(preceding-sibling::annotation[1][matches(@name, ":args?")])]

let $test := test:test($func, $meta, ?,
$test-started-function, $test-failure-function, $test-error-function, $test-finished-function)
return
Expand All @@ -280,7 +283,7 @@ declare %private function test:run-tests(
: @param $meta the function description
: @param $test-assumption-failed-function A callback for reporting the failure of assumptions
:
: @return Any assumption annotations where the asusmption did not hold true
: @return Any assumption annotations where the assumption did not hold true
:)
declare
%private
Expand Down

0 comments on commit f4e8fc7

Please sign in to comment.