Skip to content

Commit e5c6378

Browse files
committed
[test] Added test supplied by @joewiz
1 parent 8ca1971 commit e5c6378

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

exist-core/src/test/xquery/util/eval-with-context.xql

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@ function ut:timeout() {
3434
</static-context>
3535
return
3636
util:eval-with-context("util:wait(2), <ok/>", $context, false() )
37-
};
37+
};
38+
39+
declare
40+
%test:assertEquals(1)
41+
function ut:root-node() {
42+
util:eval-with-context('count(/)', (), false(), document { <x/> })
43+
};

0 commit comments

Comments
 (0)