Skip to content

Commit fbcdf00

Browse files
tniessenmhdawson
authored andcommitted
test: rename misspelled parameters
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]>
1 parent 63a6c32 commit fbcdf00

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/globalObject/global_object_delete_property.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ function test(binding) {
3737
}
3838
}
3939

40-
function assertErrMessageIsThrown(propertyCheckExistanceFunction, errMsg) {
40+
function assertErrMessageIsThrown(propertyCheckExistenceFunction, errMsg) {
4141
assert.throws(() => {
42-
propertyCheckExistanceFunction(undefined);
42+
propertyCheckExistenceFunction(undefined);
4343
}, errMsg);
4444
}
4545

test/globalObject/global_object_has_own_property.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ function test(binding) {
3333
}
3434
}
3535

36-
function assertErrMessageIsThrown(propertyCheckExistanceFunction, errMsg) {
36+
function assertErrMessageIsThrown(propertyCheckExistenceFunction, errMsg) {
3737
assert.throws(() => {
38-
propertyCheckExistanceFunction(undefined);
38+
propertyCheckExistenceFunction(undefined);
3939
}, errMsg);
4040
}
4141

0 commit comments

Comments
 (0)