Sha256: 67befd3bc515930fcb2392fff3d1290077c209b1b7194b32a69270a4a02ce404

Contents?: true

Size: 209 Bytes

Versions: 2

Compression:

Stored size: 209 Bytes

Contents

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;');
})

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eslint_node_modules-1.6.0.1 vendor/node_modules/eslint/node_modules/xml-escape/test.js
eslint_node_modules-1.6.0 vendor/node_modules/eslint/node_modules/xml-escape/test.js