projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle empty strings correctly.
[gnulib.git]
/
tests
/
uninorm
/
test-u16-nfkd.c
diff --git
a/tests/uninorm/test-u16-nfkd.c
b/tests/uninorm/test-u16-nfkd.c
index
3cc1fac
..
587a704
100644
(file)
--- a/
tests/uninorm/test-u16-nfkd.c
+++ b/
tests/uninorm/test-u16-nfkd.c
@@
-103,6
+103,9
@@
check (const uint16_t *input, size_t input_length,
void
test_u16_nfkd (void)
{
+ { /* Empty string. */
+ ASSERT (check (NULL, 0, NULL, 0) == 0);
+ }
{ /* SPACE */
static const uint16_t input[] = { 0x0020 };
ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0);