mirror of
https://gitee.com/openharmony/third_party_libuv
synced 2024-12-29 00:03:44 +00:00
修复测试用例
Signed-off-by: yongyuan <fuyongyuan1@huawei.com>
This commit is contained in:
parent
a8d1b82d1a
commit
d33edbf8a4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user