Skip to content

Commit 17a34bc

Browse files
committed
Fix test bootstrap for core build.
1 parent 53838a3 commit 17a34bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,12 @@
346346

347347
/** Used to test pseudo private map caches. */
348348
var mapCaches = (function() {
349-
var MapCache = _.memoize.Cache;
349+
var MapCache = (_.memoize || lodashStable.memoize).Cache;
350350
var result = {
351351
'Hash': new MapCache().__data__.hash.constructor,
352352
'MapCache': MapCache
353353
};
354-
_.isMatchWith({ 'a': 1 }, { 'a': 1 }, function() {
354+
(_.isMatchWith || lodashStable.isMatchWith)({ 'a': 1 }, { 'a': 1 }, function() {
355355
var stack = lodashStable.last(arguments);
356356
result.ListCache = stack.__data__.constructor;
357357
result.Stack = stack.constructor;

0 commit comments

Comments
 (0)