Sha256: 68ceb705665f0f029811cea6f68cc19209c103b5e083010ac537f91b2ff8df03

Contents?: true

Size: 1.52 KB

Versions: 45

Compression:

Stored size: 1.52 KB

Contents

require(__dirname).test
  ( { xml :
      "<compileClassesResponse>"+
        "<result>"+
          "<bodyCrc>653724009</bodyCrc>"+
          "<column>-1</column>"+
          "<id>01pG0000002KoSUIA0</id>"+
          "<line>-1</line>"+
          "<name>CalendarController</name>"+
          "<success>true</success>"+
        "</result>"+
      "</compileClassesResponse>"

    , 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 : {}
    }
  )

Version data entries

45 entries across 45 versions & 3 rubygems

Version Path
ela-4.1.6 node_modules/sax/test/issue-23.js
ela-4.1.5 node_modules/sax/test/issue-23.js
ela-4.1.4 node_modules/sax/test/issue-23.js
ela-4.1.3 node_modules/sax/test/issue-23.js
ela-4.1.2 node_modules/sax/test/issue-23.js
ela-4.1.1 node_modules/sax/test/issue-23.js
ela-4.1.0 node_modules/sax/test/issue-23.js
ela-4.0.0 node_modules/sax/test/issue-23.js
ela-3.4.3 node_modules/sax/test/issue-23.js
ela-3.4.2 node_modules/sax/test/issue-23.js
ela-3.4.0 node_modules/sax/test/issue-23.js
ela-3.3.1 node_modules/sax/test/issue-23.js
ela-3.3.0 node_modules/sax/test/issue-23.js
ela-3.2.0 node_modules/sax/test/issue-23.js
ela-3.1.1 node_modules/sax/test/issue-23.js
ela-3.1.0 node_modules/sax/test/issue-23.js
ela-3.0.0 node_modules/sax/test/issue-23.js
ela-2.0.0 node_modules/sax/test/issue-23.js
ela-1.1.0 node_modules/sax/test/issue-23.js
stylus-source-0.54.5 vendor/node_modules/sax/test/issue-23.js