aboutsummaryrefslogtreecommitdiff
path: root/cordova/node_modules/sax/test/issue-35.js
blob: 7c521c5e7f9689cd0b788e499a14feca54683db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// https://github.com/isaacs/sax-js/issues/35
require(__dirname).test
  ( { xml : "<xml>&#Xd;&#X0d;\n"+
            "</xml>"

    , expect :
      [ [ "opentag", { name: "xml", attributes: {} } ]
      , [ "text", "\r\r\n" ]
      , [ "closetag", "xml" ]
      ]
    , strict : true
    , opt : {}
    }
  )