Skip to content

Commit

Permalink
[Tests] Update nonFunctions adopt test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmck authored and ljharb committed May 26, 2024
1 parent 9c3aeed commit 2f7eb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
Expand Down

0 comments on commit 2f7eb6e

Please sign in to comment.