From a40748e3aab3abea2b26e113766a2f1adcb17273 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 12 Mar 2014 00:30:01 -0700 Subject: [PATCH] Add `_.range` tests for `NaN` values for `start` and `end` arguments. --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index f631b7735..2b480913b 100644 --- a/test/test.js +++ b/test/test.js @@ -6641,8 +6641,8 @@ }); test('should coerce arguments to numbers', 1, function() { - var actual = [func('0',1), func('1'), func(0, 1, '1')]; - deepEqual(actual, [[0], [0], [0]]); + var actual = [func('0',1), func('1'), func(0, 1, '1'), func(NaN), func(NaN, NaN)]; + deepEqual(actual, [[0], [0], [0], [], []]); }); }());