Skip to content

Commit

Permalink
test: rename misspelled parameters
Browse files Browse the repository at this point in the history
PR-URL: #973
Reviewed-By: Nicola Del Gobbo <[email protected]>
Reviewed-By: Gabriel Schulhof <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
tniessen authored and mhdawson committed Apr 23, 2021
1 parent 63a6c32 commit fbcdf00
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 fbcdf00

Please sign in to comment.