diff options
Diffstat (limited to 'node_modules/sax/test/issue-35.js')
-rw-r--r-- | node_modules/sax/test/issue-35.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/sax/test/issue-35.js b/node_modules/sax/test/issue-35.js new file mode 100644 index 000000000..64d67b3f6 --- /dev/null +++ b/node_modules/sax/test/issue-35.js @@ -0,0 +1,15 @@ +// https://github.com/isaacs/sax-js/issues/35 +require(__dirname).test + ( { xml : "<xml>

\n"+ + "</xml>" + + , expect : + [ [ "opentag", { name: "xml", attributes: {}, isSelfClosing: false } ] + , [ "text", "\r\r\n" ] + , [ "closetag", "xml" ] + ] + , strict : true + , opt : {} + } + ) + |