mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Improve uri test coverage
This commit is contained in:
parent
2c338e21d6
commit
cb8f88ca9f
@ -357,6 +357,9 @@ test_uri_escape (void)
|
|||||||
s = g_uri_escape_string ("a+b:c", "+", FALSE);
|
s = g_uri_escape_string ("a+b:c", "+", FALSE);
|
||||||
g_assert_cmpstr (s, ==, "a+b%3Ac");
|
g_assert_cmpstr (s, ==, "a+b%3Ac");
|
||||||
g_free (s);
|
g_free (s);
|
||||||
|
s = g_uri_escape_string ("a+b:c\303\234", "+", TRUE);
|
||||||
|
g_assert_cmpstr (s, ==, "a+b%3Ac\303\234");
|
||||||
|
g_free (s);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user