From d0b3b8de44637f8f7fea77888cf7d8efa1472a9b Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 26 Aug 2015 08:30:22 -0700 Subject: [PATCH] Minor test cleanup. --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 983de2669..a7359c957 100644 --- a/test/test.js +++ b/test/test.js @@ -1011,7 +1011,7 @@ test('`_.' + methodName + '` should work with a `customizer` callback', 1, function() { var actual = func({ 'a': 1, 'b': 2 }, { 'a': 3, 'c': 3 }, function(a, b) { - return typeof a == 'undefined' ? b : a; + return a === undefined ? b : a; }); deepEqual(actual, { 'a': 1, 'b': 2, 'c': 3 }); @@ -9157,7 +9157,7 @@ deepEqual(actual, array); }); - test('should handle object arguments with non-numeric length properties', 1, function() { + test('should handle object arguments with non-number length properties', 1, function() { var value = { 'value': 'x' }, object = { 'length': { 'value': 'x' } };