Cleanup _.mixin test.

This commit is contained in:
jdalton
2015-06-10 08:17:39 -07:00
parent 9b54891474
commit 9121b14009

View File

@@ -11171,11 +11171,11 @@
delete Wrapper.prototype.b;
});
test('should not assign inherited `source` properties', 1, function() {
test('should not assign inherited `source` methods', 1, function() {
function Foo() {}
Foo.prototype.a = _.noop;
deepEqual(_.mixin({}, new Foo, {}), {});
deepEqual(_.mixin({}, new Foo), {});
});
test('should accept an `options` argument', 16, function() {