1
0
Fork 0
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:
Dave Davenport 2022-08-26 14:12:51 +02:00
parent 594c7f2b31
commit cb6afae71f

View file

@ -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) {