Sha256: 4b63bd02d878c2682b15a2127f509f93e2e64f062ff0774fd8e47f5fae099bb6
Contents?: true
Size: 430 Bytes
Versions: 29
Compression:
Stored size: 430 Bytes
Contents
'use strict'; module.exports = function (t, a) { var x = [], y = {}, z = {}; a.deep(t.call(x, y), [], "Empty"); a.not(t.call(x), x, "Returns copy"); a.deep(t.call([1], y), [1], "One"); a.deep(t.call([1, 'raz'], y), [1, y, 'raz'], "One"); a.deep(t.call([1, 'raz', x], y), [1, y, 'raz', y, x], "More"); x = new Array(1000); x[23] = 2; x[3453] = 'raz'; x[500] = z; a.deep(t.call(x, y), [2, y, z, y, 'raz'], "Sparse"); };
Version data entries
29 entries across 19 versions & 7 rubygems