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