mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
Cleanup _.mixin test.
This commit is contained in:
@@ -11171,11 +11171,11 @@
|
|||||||
delete Wrapper.prototype.b;
|
delete Wrapper.prototype.b;
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should not assign inherited `source` properties', 1, function() {
|
test('should not assign inherited `source` methods', 1, function() {
|
||||||
function Foo() {}
|
function Foo() {}
|
||||||
Foo.prototype.a = _.noop;
|
Foo.prototype.a = _.noop;
|
||||||
|
|
||||||
deepEqual(_.mixin({}, new Foo, {}), {});
|
deepEqual(_.mixin({}, new Foo), {});
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should accept an `options` argument', 16, function() {
|
test('should accept an `options` argument', 16, function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user