mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Update test to have no user path.
This commit is contained in:
parent
f5ba9359a9
commit
4e7aa06333
1 changed files with 2 additions and 2 deletions
|
@ -803,10 +803,10 @@ END_TEST
|
||||||
START_TEST ( test_import_error )
|
START_TEST ( test_import_error )
|
||||||
{
|
{
|
||||||
|
|
||||||
rofi_theme_parse_string("@import \"non-existing-file.rasi\"");
|
rofi_theme_parse_string("@import \"/non-existing-file.rasi\"");
|
||||||
|
|
||||||
const char *errstr =
|
const char *errstr =
|
||||||
"Failed to open theme: <i>/home/qball/Programming/GitHub/rofi/build/non-existing-file.rasi</i>\n"\
|
"Failed to open theme: <i>/non-existing-file.rasi</i>\n"\
|
||||||
"Error: <b>No such file or directory</b>";
|
"Error: <b>No such file or directory</b>";
|
||||||
ck_assert_int_eq ( error, 1);
|
ck_assert_int_eq ( error, 1);
|
||||||
ck_assert_str_eq ( error_msg->str, errstr );
|
ck_assert_str_eq ( error_msg->str, errstr );
|
||||||
|
|
Loading…
Reference in a new issue