mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -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");
|
rofi_theme_parse_string ( "Blaat");
|
||||||
ck_assert_int_eq ( error, 1 );
|
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->widgets );
|
||||||
ck_assert_ptr_null ( rofi_theme->properties );
|
//ck_assert_ptr_null ( rofi_theme->properties );
|
||||||
ck_assert_ptr_null ( rofi_theme->parent );
|
//ck_assert_ptr_null ( rofi_theme->parent );
|
||||||
const char *error_str = "<big><b>Error while parsing theme:</b></big> <i>Blaat</i>\n"\
|
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"\
|
" 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";
|
" Location: line 1 column 6 to line 1 column 6\n";
|
||||||
|
|
Loading…
Add table
Reference in a new issue