Skip to content

Commit

Permalink
test: empty strings are not valid IDNA
Browse files Browse the repository at this point in the history
  • Loading branch information
santigimeno committed Feb 7, 2024
1 parent 3530bcc commit e0327e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-idna.c
Expand Up @@ -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");
Expand Down

0 comments on commit e0327e1

Please sign in to comment.