wallet-core/node_modules/sax/test/issue-84.js
2016-11-03 01:33:53 +01:00

14 lines
450 B
JavaScript

// https://github.com/isaacs/sax-js/issues/49
require(__dirname).test
( { xml : "<?has unbalanced \"quotes?><xml>body</xml>"
, expect :
[ [ "processinginstruction", { name: "has", body: "unbalanced \"quotes" } ],
[ "opentag", { name: "xml", attributes: {}, isSelfClosing: false } ]
, [ "text", "body" ]
, [ "closetag", "xml" ]
]
, strict : false
, opt : { lowercasetags: true, noscript: true }
}
)