[glib: 2/3] Add the corresponding test for g_unichar_totitle(0)



commit 7dcaa7eedaff5da0cd473590ed0002c41cbf21eb
Author: Emmanuel Fleury <emmanuel fleury u-bordeaux fr>
Date:   Tue May 14 13:38:14 2019 +0200

    Add the corresponding test for g_unichar_totitle(0)

 glib/tests/unicode.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/glib/tests/unicode.c b/glib/tests/unicode.c
index adf67bab1..3858b7732 100644
--- a/glib/tests/unicode.c
+++ b/glib/tests/unicode.c
@@ -882,6 +882,7 @@ test_title (void)
   g_assert_false (g_unichar_istitle (G_UNICODE_LAST_CHAR_PART1));
   g_assert_false (g_unichar_istitle (G_UNICODE_LAST_CHAR_PART1 + 1));
 
+  g_assert_cmphex (g_unichar_totitle (0x0000), ==, 0x0000);
   g_assert_cmphex (g_unichar_totitle (0x01c6), ==, 0x01c5);
   g_assert_cmphex (g_unichar_totitle (0x01c4), ==, 0x01c5);
   g_assert_cmphex (g_unichar_totitle (0x01c5), ==, 0x01c5);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]