[glib: 4/8] tests: Remove duplicate IPv6 zone ID URI parsing tests




commit c363c3a9a5d504621dfa07355f35ffe10d75e2a5
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Sep 30 18:50:54 2020 +0100

    tests: Remove duplicate IPv6 zone ID URI parsing tests
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 glib/tests/uri.c | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/glib/tests/uri.c b/glib/tests/uri.c
index adaa4066a..2be492f2f 100644
--- a/glib/tests/uri.c
+++ b/glib/tests/uri.c
@@ -681,17 +681,6 @@ static const UriAbsoluteTest absolute_tests[] = {
     { "scheme", NULL, "foo:bar._webdav._tcp.local", -1, "", NULL, NULL}
   },
 
-  /* IPv6 scope ID parsing (both correct and incorrect) */
-  { "http://[fe80::dead:beef%em1]/";, G_URI_FLAGS_NONE,
-    { "http", NULL, "fe80::dead:beef%em1", -1, "/", NULL, NULL }
-  },
-  { "http://[fe80::dead:beef%25em1]/";, G_URI_FLAGS_NONE,
-    { "http", NULL, "fe80::dead:beef%em1", -1, "/", NULL, NULL }
-  },
-  { "http://[fe80::dead:beef%10]/";, G_URI_FLAGS_NONE,
-    { "http", NULL, "fe80::dead:beef%10", -1, "/", NULL, NULL }
-  },
-
   /* ".." past top */
   { "http://example.com/..";, G_URI_FLAGS_NONE,
     { "http", NULL, "example.com", -1, "/..", NULL, NULL }


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