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:
Philip Withnall 2022-06-14 18:33:49 +01:00
parent d48470df52
commit b82bfe7642

View File

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