Skip to content

Commit bed9864

Browse files
committed
test: fix the prefix of node_api_set_prototype
1 parent fd9115f commit bed9864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/js-native-api/test_general/test_general.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static napi_value testSetPrototype(napi_env env, napi_callback_info info) {
2828
napi_value args[2];
2929
NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL));
3030

31-
NODE_API_CALL(env, napi_set_prototype(env, args[0], args[1]));
31+
NODE_API_CALL(env, node_api_set_prototype(env, args[0], args[1]));
3232

3333
return NULL;
3434
}

0 commit comments

Comments
 (0)