node/test/js-native-api/test_object
Daeyeon Jeong cc7d4ab493 src: fix napi_check_object_type_tag()
This fixes a comparison failure occurring when the upper value of a
type tag is 0, or a type tag value is 0.

Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com

PR-URL: https://github.com/nodejs/node/pull/43788
Fixes: https://github.com/nodejs/node/issues/43786
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2022-07-14 15:22:46 -04:00
..
binding.gyp test: cover property n-api null cases 2020-01-25 21:23:05 -08:00
test_null.c test: rename n-api to node-api 2021-02-06 05:03:38 -08:00
test_null.h test: cover property n-api null cases 2020-01-25 21:23:05 -08:00
test_null.js tools,test: enable no-prototype-builtins 2022-02-03 05:00:03 +00:00
test_object.c src: fix napi_check_object_type_tag() 2022-07-14 15:22:46 -04:00
test.js src: fix napi_check_object_type_tag() 2022-07-14 15:22:46 -04:00