From 28ba64a4db7ab7b69ed9f5009bb18e4966b2ebea Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 21 Jul 2014 11:54:16 -0700 Subject: [PATCH] Another attempt at fixing `_.isElement` bizarro tests. --- test/test.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/test.js b/test/test.js index 984d69f39..e71b75b69 100644 --- a/test/test.js +++ b/test/test.js @@ -5038,14 +5038,12 @@ }); test('should use a stronger check in browsers', 2, function() { - var support = _.support, - expected = !(support.dom && _.result(support, 'nodeClass', true)); + var expected = !_.support.dom; strictEqual(_.isElement(new Element), expected); if (lodashBizarro) { - support = lodashBizarro.support; - expected = !(support.dom && support.nodeClass); + expected = !lodashBizarro.support.dom; strictEqual(lodashBizarro.isElement(new Element), expected); } else {