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) );