Tests for module 'uninorm/u16-normcmp'.
[pspp] / tests / uninorm / test-u8-nfc.c
index 0e191570893c1c0bb5db5dd2e106be80fe1963e6..5a86e59f26aa9e982f6c1d979639a6b4e44b7630 100644 (file)
@@ -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);