aboutsummaryrefslogtreecommitdiff
path: root/node_modules/sax/test/unclosed-root.js
blob: f4eeac61b319c5e488f4314512b8e2a0ee486bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
require(__dirname).test
  ( { xml : "<root>"

    , expect :
      [ [ "opentag", { name: "root", attributes: {}, isSelfClosing: false } ]
      , [ "error", "Unclosed root tag\nLine: 0\nColumn: 6\nChar: " ]
      ]
    , strict : true
    , opt : {}
    }
  )