Skip to content

Commit

Permalink
test: Update test/js-native-api/test_reference/test_reference.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdawson authored and JckXia committed Sep 5, 2021
1 parent 1ba9a54 commit 0bb19e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/js-native-api/test_reference/test_reference.c
Expand Up @@ -41,7 +41,7 @@ static napi_value CreateSymbol(napi_env env, napi_callback_info info) {
napi_value args[1];

NODE_API_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL,NULL));
NODE_API_ASSERT(env, argc == 1, "Expect one argument only(symbol description)");
NODE_API_ASSERT(env, argc == 1, "Expect one argument only (symbol description)");

napi_value result_symbol;

Expand Down

0 comments on commit 0bb19e3

Please sign in to comment.