sardemff7 / libnkutils

Miscellaneous utilities
7 stars 1 forks source link

format-string tests fail with glib 2.73.1 or later #4

Closed Celti closed 2 years ago

Celti commented 2 years ago

glib commit 7074122 changed date-time format string padding, including in the default format string, to use U+2007 FIGURE SPACE for padding instead of normal spaces.

This causes the format-string tests, specifically /nkutils/name/prettify/time/default to fail as per this testlog excerpt...

ERROR:../rofi/subprojects/libnkutils/tests/format-string.c:1020:_nk_format_string_tests_func: assertion failed (result == dat
a->result): ("Thu Mar \342\200\2071 13:14:08 2018" == "Thu Mar  1 13:14:08 2018")

...as the tests are still expecting an ordinary space.

sardemff7 commented 2 years ago

Fixed in 7b3a80a1e8b958b8fd42f74d973b28b4eb495fbc, will update rofi

Thanks for the report