[glib] Improve hostutils test coverage



commit 5ec36cd02ae2efacf2dd11c218afa2b3ab1dee40
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 31 09:19:22 2013 -0500

    Improve hostutils test coverage

 glib/tests/hostutils.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/hostutils.c b/glib/tests/hostutils.c
index 218f516..106a7de 100644
--- a/glib/tests/hostutils.c
+++ b/glib/tests/hostutils.c
@@ -62,7 +62,9 @@ static const struct {
 
   /* non-standard dot characters */
   { "example\xe3\x80\x82" "com", "example.com", TRUE, FALSE },
-  { "\xc3\xa9xample\xe3\x80\x82" "com", "xn--xample-9ua.com", TRUE, TRUE }
+  { "\xc3\xa9xample\xe3\x80\x82" "com", "xn--xample-9ua.com", TRUE, TRUE },
+  { "Å.idn.icann.org", "xn--5ca.idn.icann.org", TRUE, TRUE },
+  { "ℵℶℷ\xcd\x8f.idn.icann.org", "xn--4dbcd.idn.icann.org", TRUE, TRUE }
 };
 static const gint num_non_round_trip_names = G_N_ELEMENTS (non_round_trip_names);
 


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