mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 11:56:16 +01:00
tests: Fix an invalid UTF-8 sequence in the uri tests
This sequence was meant to be valid, but was incorrectly just the octal form of the desired Unicode codepoint, not the UTF-8 encoding of that codepoint. This was causing `g_test_message()` to print an `[Invalid UTF-8]` warning. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
d48470df52
commit
b82bfe7642
@ -351,7 +351,7 @@ test_uri_unescape_string (void)
|
||||
{ "%0", NULL, NULL },
|
||||
{ "%ra", NULL, NULL },
|
||||
{ "%2r", NULL, NULL },
|
||||
{ "Timm B\344der", NULL, "Timm B\344der" },
|
||||
{ "Timm B\303\244der", NULL, "Timm B\303\244der" },
|
||||
{ NULL, NULL, NULL }, /* actually a valid test, not a delimiter */
|
||||
};
|
||||
gsize i;
|
||||
|
Loading…
Reference in New Issue
Block a user