From d1291f67551c58168af43698a359cb5ddfd266b0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 3 Nov 2016 01:33:53 +0100 Subject: node_modules --- node_modules/sax/test/issue-23.js | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 node_modules/sax/test/issue-23.js (limited to 'node_modules/sax/test/issue-23.js') diff --git a/node_modules/sax/test/issue-23.js b/node_modules/sax/test/issue-23.js new file mode 100644 index 000000000..ccbdc3512 --- /dev/null +++ b/node_modules/sax/test/issue-23.js @@ -0,0 +1,43 @@ + +require(__dirname).test + ( { xml : + ""+ + ""+ + "653724009"+ + "-1"+ + "01pG0000002KoSUIA0"+ + "-1"+ + "CalendarController"+ + "true"+ + ""+ + "" + + , expect : + [ [ "opentag", { name: "COMPILECLASSESRESPONSE", attributes: {}, isSelfClosing: false } ] + , [ "opentag", { name : "RESULT", attributes: {}, isSelfClosing: false } ] + , [ "opentag", { name: "BODYCRC", attributes: {}, isSelfClosing: false } ] + , [ "text", "653724009" ] + , [ "closetag", "BODYCRC" ] + , [ "opentag", { name: "COLUMN", attributes: {}, isSelfClosing: false } ] + , [ "text", "-1" ] + , [ "closetag", "COLUMN" ] + , [ "opentag", { name: "ID", attributes: {}, isSelfClosing: false } ] + , [ "text", "01pG0000002KoSUIA0" ] + , [ "closetag", "ID" ] + , [ "opentag", {name: "LINE", attributes: {}, isSelfClosing: false } ] + , [ "text", "-1" ] + , [ "closetag", "LINE" ] + , [ "opentag", {name: "NAME", attributes: {}, isSelfClosing: false } ] + , [ "text", "CalendarController" ] + , [ "closetag", "NAME" ] + , [ "opentag", {name: "SUCCESS", attributes: {}, isSelfClosing: false } ] + , [ "text", "true" ] + , [ "closetag", "SUCCESS" ] + , [ "closetag", "RESULT" ] + , [ "closetag", "COMPILECLASSESRESPONSE" ] + ] + , strict : false + , opt : {} + } + ) + -- cgit v1.2.3