Skip to content

Commit

Permalink
test: rename misspelled parameters
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node-addon-api#973
Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
kevindavies8 committed Apr 23, 2021
1 parent a2f8215 commit 62d855a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/globalObject/global_object_delete_property.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ function test(binding) {
}
}

function assertErrMessageIsThrown(propertyCheckExistanceFunction, errMsg) {
function assertErrMessageIsThrown(propertyCheckExistenceFunction, errMsg) {
assert.throws(() => {
propertyCheckExistanceFunction(undefined);
propertyCheckExistenceFunction(undefined);
}, errMsg);
}

Expand Down
4 changes: 2 additions & 2 deletions test/globalObject/global_object_has_own_property.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ function test(binding) {
}
}

function assertErrMessageIsThrown(propertyCheckExistanceFunction, errMsg) {
function assertErrMessageIsThrown(propertyCheckExistenceFunction, errMsg) {
assert.throws(() => {
propertyCheckExistanceFunction(undefined);
propertyCheckExistenceFunction(undefined);
}, errMsg);
}

Expand Down

0 comments on commit 62d855a

Please sign in to comment.