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