diff options
author | Dave Davenport <qball@gmpclient.org> | 2020-09-13 17:48:39 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2020-09-13 17:48:39 +0200 |
commit | ee5fc74dd92795d0f42b266f59e0b818337e816b (patch) | |
tree | ecf69a2bd66d64a1cee1d7e873838ec7e2bc5ea3 | |
parent | 3499e1dad072facd5d62b93929daab7e303398ed (diff) |
[Test] fix theme parser test for latest change in grammar parser
-rw-r--r-- | test/theme-parser-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c index 969fad03..dd722468 100644 --- a/test/theme-parser-test.c +++ b/test/theme-parser-test.c @@ -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"; |