Files
Superalgos/node_modules/sax/test/unclosed-root.js
T
2018-02-24 11:52:28 +01:00

12 lines
261 B
JavaScript

require(__dirname).test
( { xml : "<root>"
, expect :
[ [ "opentag", { name: "root", attributes: {}, isSelfClosing: false } ]
, [ "error", "Unclosed root tag\nLine: 0\nColumn: 6\nChar: " ]
]
, strict : true
, opt : {}
}
)