wallet-core/node_modules/sax/test/trailing-non-whitespace.js

19 lines
334 B
JavaScript
Raw Normal View History

2016-11-03 01:33:53 +01:00
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 : {}
});