From ccfa37bea4941da06d10b558fd8b9c93287973af Mon Sep 17 00:00:00 2001 From: angus-c Date: Mon, 18 Jul 2022 16:10:02 -0700 Subject: [PATCH] fix test names --- test/function-demethodize/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/function-demethodize/index.js b/test/function-demethodize/index.js index 6a3cf20eb..d1a87281b 100644 --- a/test/function-demethodize/index.js +++ b/test/function-demethodize/index.js @@ -16,7 +16,7 @@ demethodize({}); // undefined demethodize(undefined); // undefined */ -test('resulting function uses first arg as `this` value', function(t) { +test('resulting function as higher order function', function(t) { t.plan(1); var trimFn = demethodize(''.trim); var mapped = ['hello ', ' goodbye', 'hello again'].map(trimFn); @@ -24,7 +24,7 @@ test('resulting function uses first arg as `this` value', function(t) { t.end(); }); -test('resulting function passes remaining args to new function', function(t) { +test('resulting function uses first arg as `this` value', function(t) { t.plan(1); var circle = { volumeOfCylinder: function(height) {