From 50875991cd3d9899650e091c3150a77b21afff06 Mon Sep 17 00:00:00 2001 From: wangbowen36 Date: Mon, 25 Aug 2025 16:21:59 +0800 Subject: [PATCH] Fix ut alarm Issue: https://gitee.com/openharmony/arkui_napi/issues/ICUKQM Signed-off-by: wangbowen36 --- test/unittest/test_sendable_napi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/test_sendable_napi.cpp b/test/unittest/test_sendable_napi.cpp index 085471fc5..03c3573f4 100644 --- a/test/unittest/test_sendable_napi.cpp +++ b/test/unittest/test_sendable_napi.cpp @@ -998,7 +998,7 @@ HWTEST_F(NapiSendableTest, CreateSendableArrayWithLength004, testing::ext::TestS napi_valuetype type = napi_undefined; res = napi_typeof(env, value, &type); ASSERT_EQ(res, napi_ok); - ASSERT_EQ(napi_undefined, napi_undefined); + ASSERT_EQ(type, napi_undefined); res = napi_set_element(env, result, LENGTH, boolTrue); ASSERT_EQ(res, napi_ok); -- Gitee