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