aboutsummaryrefslogtreecommitdiff
path: root/node_modules/sax/test/entities.js
blob: 490166785d09ddae31dae410bdbc9b55328f4550 (plain)
1
2
3
4
5
6
7
8
9
10
require(__dirname).test({
  xml: '<r>&rfloor; ' +
       '&spades; &copy; &rarr; &amp; ' +
        '&lt; < <  <   < &gt; &real; &weierp; &euro;</r>',
  expect: [
    ['opentag', {'name':'R', attributes:{}, isSelfClosing: false}],
    ['text', '⌋ ♠ © → & < < <  <   < > ℜ ℘ €'],
    ['closetag', 'R']
  ]
});