From 2f7eb6e13ea986fa5d4404c60782a84151f9a15e Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 26 May 2024 00:18:41 -0500 Subject: [PATCH] [Tests] Update nonFunctions adopt test --- test/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests.js b/test/tests.js index 3e5e106..c1e5c57 100644 --- a/test/tests.js +++ b/test/tests.js @@ -173,7 +173,7 @@ module.exports = { forEach(v.nonFunctions, function (nonFunction) { st['throws']( - function () { instance.adopt(nonFunction); }, + function () { instance.adopt(undefined, nonFunction); }, TypeError, 'throws on a nonfunction: ' + inspect(nonFunction) );