From 28a0b6f901f2c9b61cd7a1850adacfef745019e4 Mon Sep 17 00:00:00 2001 From: jdalton Date: Sat, 23 May 2015 20:12:50 -0700 Subject: [PATCH] Fix test for removal of `_.support.funcNames`. --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 7efdd1a6e..002ccbcc8 100644 --- a/test/test.js +++ b/test/test.js @@ -2347,7 +2347,7 @@ filterCount = mapCount = 0; deepEqual(combined(_.range(100)), [4, 16]); - if (!isNpm && WeakMap && _.support.funcNames) { + if (!isNpm && WeakMap && WeakMap.name) { strictEqual(filterCount, 5, 'filterCount'); strictEqual(mapCount, 5, 'mapCount'); }