Sha256: 25b78fd7ce02a9645399fce29c33c761e6dd1dec5cd6b5c4c0d27f108bd9f53b

Contents?: true

Size: 468 Bytes

Versions: 46

Compression:

Stored size: 468 Bytes

Contents

"use strict";

module.exports = function (t, a) {
	var x = {};
	a(t.call([], []), true, "Empty");
	a(t.call([], {}), true, "Empty lists");
	a(t.call([1, x, "raz"], [1, x, "raz"]), true, "Same");
	a(t.call([1, x, "raz"], { 0: 1, 1: x, 2: "raz", length: 3 }), true,
			"Same lists");
	a(t.call([1, x, "raz"], [x, 1, "raz"]), false, "Diff order");
	a(t.call([1, x], [1, x, "raz"]), false, "Diff length #1");
	a(t.call([1, x, "raz"], [1, x]), false, "Diff length #2");
};

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
govuk_publishing_components-18.0.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.21.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.20.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.19.1 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.19.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.18.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.17.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.16.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.15.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.14.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.13.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.12.2 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.12.1 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.12.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.11.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.10.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.9.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.8.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.7.0 node_modules/es5-ext/test/array/#/is-copy.js
govuk_publishing_components-17.6.1 node_modules/es5-ext/test/array/#/is-copy.js