mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 11:56:16 +01:00
gdatetime test: Consistently expect %k to generate a figure space
This part of test_non_utf8_printf() was missed while converting other
test expectations to look for a figure space, probably because it is
only run if a legacy ja_JP.eucjp locale exists. Debian generates a fairly
comprehensive set of locales (including some that are non-UTF-8) while
running GLib's installed-tests, so this was caught by CI.
Fixes: 7074122
"gdatetime: Pad numbers with numeric space"
Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
parent
6e81c21a8b
commit
6a599e0349
@ -1708,7 +1708,7 @@ test_non_utf8_printf (void)
|
|||||||
TEST_PRINTF_TIME (12, 0, 0, "%I", "12");
|
TEST_PRINTF_TIME (12, 0, 0, "%I", "12");
|
||||||
TEST_PRINTF_TIME (15, 0, 0, "%I", "03");
|
TEST_PRINTF_TIME (15, 0, 0, "%I", "03");
|
||||||
TEST_PRINTF ("%j", "297");
|
TEST_PRINTF ("%j", "297");
|
||||||
TEST_PRINTF ("%k", " 0");
|
TEST_PRINTF ("%k", "\u20070");
|
||||||
TEST_PRINTF_TIME (13, 13, 13, "%k", "13");
|
TEST_PRINTF_TIME (13, 13, 13, "%k", "13");
|
||||||
TEST_PRINTF ("%l", "12");
|
TEST_PRINTF ("%l", "12");
|
||||||
TEST_PRINTF_TIME (12, 0, 0, "%I", "12");
|
TEST_PRINTF_TIME (12, 0, 0, "%I", "12");
|
||||||
|
Loading…
Reference in New Issue
Block a user