diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c index e5f13c89..30f7b17e 100644 --- a/test/theme-parser-test.c +++ b/test/theme-parser-test.c @@ -519,6 +519,17 @@ int main ( int argc, char ** argv ) rofi_theme_free ( rofi_theme ); rofi_theme = NULL; } + { + rofi_theme = NULL; + error = 0; + rofi_theme_parse_string ( "configuration { font: \"blaat€\"; y-offset: 4; }"); + TASSERT ( error == 0 ); + + TASSERT ( g_utf8_collate ( config.font, "blaat€" ) == 0 ); + TASSERT ( config.y_offset == 4 ); + rofi_theme_free ( rofi_theme ); + rofi_theme = NULL; + } { rofi_theme = NULL; rofi_theme_parse_file ("/dev/null");