mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Fix test bootstrap for core build.
This commit is contained in:
@@ -346,12 +346,12 @@
|
|||||||
|
|
||||||
/** Used to test pseudo private map caches. */
|
/** Used to test pseudo private map caches. */
|
||||||
var mapCaches = (function() {
|
var mapCaches = (function() {
|
||||||
var MapCache = _.memoize.Cache;
|
var MapCache = (_.memoize || lodashStable.memoize).Cache;
|
||||||
var result = {
|
var result = {
|
||||||
'Hash': new MapCache().__data__.hash.constructor,
|
'Hash': new MapCache().__data__.hash.constructor,
|
||||||
'MapCache': MapCache
|
'MapCache': MapCache
|
||||||
};
|
};
|
||||||
_.isMatchWith({ 'a': 1 }, { 'a': 1 }, function() {
|
(_.isMatchWith || lodashStable.isMatchWith)({ 'a': 1 }, { 'a': 1 }, function() {
|
||||||
var stack = lodashStable.last(arguments);
|
var stack = lodashStable.last(arguments);
|
||||||
result.ListCache = stack.__data__.constructor;
|
result.ListCache = stack.__data__.constructor;
|
||||||
result.Stack = stack.constructor;
|
result.Stack = stack.constructor;
|
||||||
|
|||||||
Reference in New Issue
Block a user