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/attribute-name.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 node_modules/sax/test/attribute-name.js (limited to 'node_modules/sax/test/attribute-name.js') diff --git a/node_modules/sax/test/attribute-name.js b/node_modules/sax/test/attribute-name.js new file mode 100644 index 000000000..9ebbe58e7 --- /dev/null +++ b/node_modules/sax/test/attribute-name.js @@ -0,0 +1,33 @@ +require(__dirname).test( + { xml: "" + , expect: [ + ["attribute", { + name: "length" + , value: "12345" + , prefix: "" + , local: "length" + , uri: "" + }] + , ["opentag", { + name: "root" + , prefix: "" + , local: "root" + , uri: "" + , attributes: { + length: { + name: "length" + , value: "12345" + , prefix: "" + , local: "length" + , uri: "" + } + } + , ns: {} + , isSelfClosing: false + }] + , ["closetag", "root"] + ] + , strict: true + , opt: { xmlns: true } + } +) -- cgit v1.2.3