wallet-core/node_modules/sax/test/trailing-non-whitespace.js
2016-11-03 01:33:53 +01:00

19 lines
334 B
JavaScript

require(__dirname).test({
xml : "<span>Welcome,</span> to monkey land",
expect : [
["opentag", {
"name": "SPAN",
"attributes": {},
isSelfClosing: false
}],
["text", "Welcome,"],
["closetag", "SPAN"],
["text", " to monkey land"],
["end"],
["ready"]
],
strict : false,
opt : {}
});