mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Fix test fail in non-browsers.
This commit is contained in:
@@ -1756,7 +1756,7 @@
|
||||
notStrictEqual(actual, object);
|
||||
deepEqual(actual, object);
|
||||
|
||||
var expected = typeof value == 'function' ? { 'foo': Klass.foo } : {};
|
||||
var expected = typeof value == 'function' ? { 'foo': Klass.foo } : (value && {});
|
||||
deepEqual(func(value), expected);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user