修复测试用例

Signed-off-by: yongyuan <fuyongyuan1@huawei.com>
This commit is contained in:
yongyuan 2024-02-21 15:25:43 +08:00
parent a8d1b82d1a
commit d33edbf8a4

View File

@ -113,8 +113,8 @@ TEST_IMPL(utf8_decode1_overrun) {
ASSERT_PTR_EQ(p, b + 1);
b[0] = 0x7F;
ASSERT_EQ(UV_EINVAL, uv_idna_toascii(b, b + 0, c, c + 1));
ASSERT_EQ(UV_EINVAL, uv_idna_toascii(b, b + 1, c, c + 1));
ASSERT_EQ(UV_EINVAL, uv__idna_toascii(b, b + 0, c, c + 1));
ASSERT_EQ(UV_EINVAL, uv__idna_toascii(b, b + 1, c, c + 1));
return 0;
}