mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
test: empty strings are not valid IDNA
This commit is contained in:
parent
927b2c6719
commit
26c09a7ceb
@ -151,8 +151,8 @@ TEST_IMPL(idna_toascii) {
|
||||
/* Illegal inputs. */
|
||||
F("\xC0\x80\xC1\x80", UV_EINVAL); /* Overlong UTF-8 sequence. */
|
||||
F("\xC0\x80\xC1\x80.com", UV_EINVAL); /* Overlong UTF-8 sequence. */
|
||||
F("", UV_EINVAL);
|
||||
/* No conversion. */
|
||||
T("", "");
|
||||
T(".", ".");
|
||||
T(".com", ".com");
|
||||
T("example", "example");
|
||||
|
Loading…
x
Reference in New Issue
Block a user