Sha256: d1942b16f15601548b0d0e661aff445c03d44309dc9f61ce408b5e54863a75ba

Contents?: true

Size: 446 Bytes

Versions: 128

Compression:

Stored size: 446 Bytes

Contents

var test = require('tape');
var equal = require('../');

test('equal', function (t) {
    t.ok(equal(
        { a : [ 2, 3 ], b : [ 4 ] },
        { a : [ 2, 3 ], b : [ 4 ] }
    ));
    t.end();
});

test('not equal', function (t) {
    t.notOk(equal(
        { x : 5, y : [6] },
        { x : 5, y : 6 }
    ));
    t.end();
});

test('nested nulls', function (t) {
    t.ok(equal([ null, null, null ], [ null, null, null ]));
    t.end();
});

Version data entries

128 entries across 128 versions & 12 rubygems

Version Path
govuk_publishing_components-17.16.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.15.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.14.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.13.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.12.2 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.12.1 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.12.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.11.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.10.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.9.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.8.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.7.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.6.1 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.6.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.5.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.4.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.3.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.2.0 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.1.1 node_modules/deep-is/test/cmp.js
govuk_publishing_components-17.1.0 node_modules/deep-is/test/cmp.js