diff --git a/test/globalObject/global_object_delete_property.js b/test/globalObject/global_object_delete_property.js index b6334f1ce..885200745 100644 --- a/test/globalObject/global_object_delete_property.js +++ b/test/globalObject/global_object_delete_property.js @@ -37,9 +37,9 @@ function test(binding) { } } - function assertErrMessageIsThrown(propertyCheckExistanceFunction, errMsg) { + function assertErrMessageIsThrown(propertyCheckExistenceFunction, errMsg) { assert.throws(() => { - propertyCheckExistanceFunction(undefined); + propertyCheckExistenceFunction(undefined); }, errMsg); } diff --git a/test/globalObject/global_object_has_own_property.js b/test/globalObject/global_object_has_own_property.js index 65c8c6a71..d3955cdfb 100644 --- a/test/globalObject/global_object_has_own_property.js +++ b/test/globalObject/global_object_has_own_property.js @@ -33,9 +33,9 @@ function test(binding) { } } - function assertErrMessageIsThrown(propertyCheckExistanceFunction, errMsg) { + function assertErrMessageIsThrown(propertyCheckExistenceFunction, errMsg) { assert.throws(() => { - propertyCheckExistanceFunction(undefined); + propertyCheckExistenceFunction(undefined); }, errMsg); }