aboutsummaryrefslogtreecommitdiff
path: root/node_modules/sax/test/issue-35.js
blob: 64d67b3f6b12cd73088865f50173b706c01329dc (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: {}, isSelfClosing: false } ]
      , [ "text", "\r\r\n" ]
      , [ "closetag", "xml" ]
      ]
    , strict : true
    , opt : {}
    }
  )