mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Cleanup _.merge tests.
This commit is contained in:
@@ -12297,7 +12297,6 @@
|
|||||||
assert.deepEqual(actual, new Foo(object));
|
assert.deepEqual(actual, new Foo(object));
|
||||||
|
|
||||||
actual = _.merge([new Foo], [object]);
|
actual = _.merge([new Foo], [object]);
|
||||||
|
|
||||||
assert.ok(actual[0] instanceof Foo);
|
assert.ok(actual[0] instanceof Foo);
|
||||||
assert.deepEqual(actual, [new Foo(object)]);
|
assert.deepEqual(actual, [new Foo(object)]);
|
||||||
});
|
});
|
||||||
@@ -12309,7 +12308,7 @@
|
|||||||
assert.deepEqual(actual, { 'a': 1 });
|
assert.deepEqual(actual, { 'a': 1 });
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('should skip `undefined` values in `source` arrays if a destination value exists', function(assert) {
|
QUnit.test('should skip `undefined` values in array sources if a destination value exists', function(assert) {
|
||||||
assert.expect(2);
|
assert.expect(2);
|
||||||
|
|
||||||
var array = Array(3);
|
var array = Array(3);
|
||||||
|
|||||||
Reference in New Issue
Block a user