mirror of
https://github.com/davatorium/rofi.git
synced 2025-01-27 15:25:24 -05:00
[Test] test configuration block in config.
This commit is contained in:
parent
e16d8f755a
commit
d3594e275e
1 changed files with 11 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue