From 007ea9ea20ecad771de0c7fc0676b7ea97bca3be Mon Sep 17 00:00:00 2001 From: jdalton Date: Fri, 20 Mar 2015 23:49:31 -0700 Subject: [PATCH] Add `length` check test to `_.flow` & `_.flowRight`. --- test/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 9fdcadd28..00a5a3ffc 100644 --- a/test/test.js +++ b/test/test.js @@ -2222,7 +2222,7 @@ notStrictEqual(func(_.noop), _.noop); }); - test('`_.' + methodName + '` should return an identity function when no arguments are provided', 2, function() { + test('`_.' + methodName + '` should return an identity function when no arguments are provided', 3, function() { var combined = func(); try { @@ -2230,6 +2230,7 @@ } catch(e) { ok(false, e.message); } + strictEqual(combined.length, 0); notStrictEqual(combined, _.identity); });