summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/xml-escape/test.js
blob: 211c3b8164dd0a73c0445d63d4f61dfbfa6de511 (plain)
1
2
3
4
5
6
7
var test = require('tape');
var escape = require('./index');
test("Characters should be escaped properly", function (t) {
    t.plan(1);

    t.equals(escape('" \' < > &'), '&quot; &apos; &lt; &gt; &amp;');
})