11 lines
321 B
JavaScript
11 lines
321 B
JavaScript
|
require(__dirname).test({
|
|||
|
xml: '<r>⌋ ' +
|
|||
|
'♠ © → & ' +
|
|||
|
'< < < < < > ℜ ℘ €</r>',
|
|||
|
expect: [
|
|||
|
['opentag', {'name':'R', attributes:{}, isSelfClosing: false}],
|
|||
|
['text', '⌋ ♠ © → & < < < < < > ℜ ℘ €'],
|
|||
|
['closetag', 'R']
|
|||
|
]
|
|||
|
});
|