Skip to content

Commit

Permalink
[test] fix and add adaptive serialization tests
Browse files Browse the repository at this point in the history
  • Loading branch information
line-o committed Feb 28, 2023
1 parent d3cc1e7 commit 9db11d2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions exist-core/src/test/xquery/xquery3/serialize.xql
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ function ser:serialize-empty-sequence() {

declare
%test:args(1234)
%test:assertEquals(1234)
%test:assertEquals('1234')
%test:args('1234')
%test:assertEquals('"1234"')
%test:args('Hello "world"!')
%test:assertEquals('"Hello ""world""!"')
function ser:adaptive-simple-atomic($atomic as xs:anyAtomicType) {
Expand All @@ -263,7 +265,9 @@ function ser:adaptive-simple-atomic($atomic as xs:anyAtomicType) {

declare
%test:args(1234)
%test:assertEquals(1234)
%test:assertEquals('1234')
%test:args('1234')
%test:assertEquals('"1234"')
%test:args('Hello "world"!')
%test:assertEquals('"Hello ""world""!"')
function ser:adaptive-simple-atomic-map-params($atomic as xs:anyAtomicType) {
Expand Down

0 comments on commit 9db11d2

Please sign in to comment.