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
immosquare-cleaner-0.1.62 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.61 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.60 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.59 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.58 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.57 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.56 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.55 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.54 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.53 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.52 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.51 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.50 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.49 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.48 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.47 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.46 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.45 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.44 node_modules/deep-is/test/cmp.js
immosquare-cleaner-0.1.43 node_modules/deep-is/test/cmp.js