From 58b3e9f20180b696bf2f7f7966f55a776e931513 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 20 Aug 2014 01:29:48 -0700 Subject: [PATCH] Avoid test issues with error objects across environments. --- test/test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 1b5339bd0..e36232356 100644 --- a/test/test.js +++ b/test/test.js @@ -5178,7 +5178,7 @@ (function() { var args = arguments; - test('should return `true` for empty or falsey values', 9, function() { + test('should return `true` for empty or falsey values', 8, function() { var expected = _.map(empties, _.constant(true)); var actual = _.map(empties, function(value) { @@ -5189,7 +5189,6 @@ strictEqual(_.isEmpty(true), true); strictEqual(_.isEmpty(new Date), true); - strictEqual(_.isEmpty(new Error), true); strictEqual(_.isEmpty(slice), true); strictEqual(_.isEmpty(1), true); strictEqual(_.isEmpty(NaN), true);