wallet-core/node_modules/sax/test/issue-84.js

14 lines
450 B
JavaScript
Raw Normal View History

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