aboutsummaryrefslogtreecommitdiff
path: root/cordova/node_modules/sax/test/trailing-non-whitespace.js
blob: 3e1fb2ed5cebcd7ec7990bcc62062eb6ed2d6b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require(__dirname).test({
  xml : "<span>Welcome,</span> to monkey land",
  expect : [
    ["opentag", {
     "name": "SPAN",
     "attributes": {}
    }],
    ["text", "Welcome,"],
    ["closetag", "SPAN"],
    ["text", " to monkey land"],
    ["end"],
    ["ready"]
  ],
  strict : false,
  opt : {}
});