[glib] tests: fix and re-add the broken test



commit 6965b721b1c7ec571f54065ddd1ef4ee1f7a4c3d
Author: Dan Winship <danw gnome org>
Date:   Wed Jun 5 23:49:31 2013 -0300

    tests: fix and re-add the broken test

 gio/tests/inet-address.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/inet-address.c b/gio/tests/inet-address.c
index 0e798fb..7d7fd4f 100644
--- a/gio/tests/inet-address.c
+++ b/gio/tests/inet-address.c
@@ -66,6 +66,8 @@ test_parse (void)
   g_assert (addr == NULL);
   addr = g_inet_address_new_from_string ("::FFFFFFF");
   g_assert (addr == NULL);
+  addr = g_inet_address_new_from_string ("204.152.189.116:80");
+  g_assert (addr == NULL);
 }
 
 static void


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