projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tests for module 'uninorm/u16-normcmp'.
[pspp]
/
tests
/
uninorm
/
test-u8-nfc.c
diff --git
a/tests/uninorm/test-u8-nfc.c
b/tests/uninorm/test-u8-nfc.c
index 0e191570893c1c0bb5db5dd2e106be80fe1963e6..5a86e59f26aa9e982f6c1d979639a6b4e44b7630 100644
(file)
--- a/
tests/uninorm/test-u8-nfc.c
+++ b/
tests/uninorm/test-u8-nfc.c
@@
-103,6
+103,9
@@
check (const uint8_t *input, size_t input_length,
void
test_u8_nfc (void)
{
+ { /* Empty string. */
+ ASSERT (check (NULL, 0, NULL, 0) == 0);
+ }
{ /* SPACE */
static const uint8_t input[] = { 0x20 };
ASSERT (check (input, SIZEOF (input), input, SIZEOF (input)) == 0);