EXPath-file-appendText3-002 | FAILED 2 | () | <all-of>
<assert-empty/>
<assert>xs:hexBinary(Q{http://expath.org/ns/file}read-binary("sandpit/test3.txt")) eq
xs:hexBinary("FEFF0061FEFF0062FEFF0063")</assert>
</all-of>
(unescaped) |
(if (file:exists("sandpit/test3.txt"))
then file:delete("sandpit/test3.txt")
else ()),
file:append-text("sandpit/test3.txt", ("a"), "UTF-16"),
file:append-text("sandpit/test3.txt", ("b"), "UTF-16"),
file:append-text("sandpit/test3.txt", ("c"), "UTF-16")
|
EXPath-file-writeText3-002 | FAILED 2 | () | <all-of>
<assert-empty/>
<assert>xs:hexBinary(Q{http://expath.org/ns/file}read-binary("sandpit/test3.txt")) eq
xs:hexBinary("FEFF006100620063")</assert>
</all-of>
(unescaped) |
(if (file:exists("sandpit/test3.txt"))
then file:delete("sandpit/test3.txt")
else ()),
file:write-text("sandpit/test3.txt", "abc", "UTF-16") |