From fbcdf00ea0020ba8a7a0240114d34b94c558d50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Tue, 20 Apr 2021 20:25:57 +0200 Subject: [PATCH] test: rename misspelled parameters PR-URL: https://github.com/nodejs/node-addon-api/pull/973 Reviewed-By: Nicola Del Gobbo Reviewed-By: Gabriel Schulhof Reviewed-By: Chengzhong Wu Reviewed-By: Michael Dawson --- test/globalObject/global_object_delete_property.js | 4 ++-- test/globalObject/global_object_has_own_property.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); }