Improve uri test coverage

This commit is contained in:
Matthias Clasen 2012-08-18 14:41:48 -04:00
parent 2c338e21d6
commit cb8f88ca9f

View File

@ -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