Tests for module 'uninorm/u16-normcmp'.
[pspp] / tests / uninorm / test-u8-nfkc.c
index 6792e826d4dfb0366642245d84a485a56d193ebb..1d9f0e1a98a8e62cb83951785d50191bec348f19 100644 (file)
@@ -103,6 +103,9 @@ check (const uint8_t *input, size_t input_length,
 void
 test_u8_nfkc (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);