test: fix typo in test_js_native_api_v8

PR-URL: https://github.com/nodejs/node/pull/41584
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Tobias Nießen 2022-01-18 20:39:36 +01:00
parent 51783320a4
commit b9258e5e81

View File

@ -74,7 +74,7 @@ TEST_F(JsNativeApiV8Test, Reference) {
// We can hardly trigger a non-forced Garbage Collection in a stable way.
// Here we just invoke the weak callbacks directly.
// The persistant handles should be reset in the weak callback in respect
// The persistent handles should be reset in the weak callback in respect
// to the API contract of v8 weak callbacks.
v8::WeakCallbackInfo<Reference::SecondPassCallParameterRef> data(
reinterpret_cast<v8::Isolate*>(isolate_),