mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
[Test] fix theme parser test for latest change in grammar parser
This commit is contained in:
parent
3499e1dad0
commit
ee5fc74dd9
1 changed files with 3 additions and 3 deletions
|
@ -158,10 +158,10 @@ START_TEST (test_core_error_root )
|
|||
{
|
||||
rofi_theme_parse_string ( "Blaat");
|
||||
ck_assert_int_eq ( error, 1 );
|
||||
ck_assert_ptr_nonnull ( rofi_theme );
|
||||
ck_assert_ptr_null ( rofi_theme );
|
||||
//ck_assert_ptr_null ( rofi_theme->widgets );
|
||||
ck_assert_ptr_null ( rofi_theme->properties );
|
||||
ck_assert_ptr_null ( rofi_theme->parent );
|
||||
//ck_assert_ptr_null ( rofi_theme->properties );
|
||||
//ck_assert_ptr_null ( rofi_theme->parent );
|
||||
const char *error_str = "<big><b>Error while parsing theme:</b></big> <i>Blaat</i>\n"\
|
||||
" Parser error: <span size=\"smaller\" style=\"italic\">syntax error, unexpected end of file, expecting "bracket open ('{')" or "Selector separator (',')"</span>\n"\
|
||||
" Location: line 1 column 6 to line 1 column 6\n";
|
||||
|
|
Loading…
Reference in a new issue