From b1ecb6ca77a939495219d79fd96ccc60db3bb7eb Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 27 Apr 2017 00:03:59 +0200 Subject: [Test] Fix test. --- test/theme-parser-test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c index 30f7b17e..a1c9d155 100644 --- a/test/theme-parser-test.c +++ b/test/theme-parser-test.c @@ -522,10 +522,11 @@ int main ( int argc, char ** argv ) { rofi_theme = NULL; error = 0; - rofi_theme_parse_string ( "configuration { font: \"blaat€\"; y-offset: 4; }"); + rofi_theme_parse_string ( "configuration { font: \"blaat€\"; yoffset: 4; }"); TASSERT ( error == 0 ); - TASSERT ( g_utf8_collate ( config.font, "blaat€" ) == 0 ); + printf("%s\n", config.menu_font); + TASSERT ( g_utf8_collate ( config.menu_font, "blaat€" ) == 0 ); TASSERT ( config.y_offset == 4 ); rofi_theme_free ( rofi_theme ); rofi_theme = NULL; -- cgit v1.2.3