mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
[Test][Theme] Update test for downgrade error
This commit is contained in:
parent
594c7f2b31
commit
cb6afae71f
1 changed files with 5 additions and 5 deletions
|
@ -1330,11 +1330,11 @@ START_TEST(test_import_error) {
|
||||||
|
|
||||||
const char *errstr = "Failed to open theme: <i>/non-existing-file.rasi</i>\n"
|
const char *errstr = "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(warning, 1);
|
||||||
ck_assert_str_eq(error_msg->str, errstr);
|
ck_assert_str_eq(warning_msg->str, errstr);
|
||||||
g_string_free(error_msg, TRUE);
|
g_string_free(warning_msg, TRUE);
|
||||||
error_msg = NULL;
|
warning_msg = NULL;
|
||||||
error = 0;
|
warning = 0;
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
START_TEST(test_prepare_array) {
|
START_TEST(test_prepare_array) {
|
||||||
|
|
Loading…
Reference in a new issue