summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2022-08-26 14:12:51 +0200
committerDave Davenport <qball@blame.services>2022-08-26 14:12:51 +0200
commitcb6afae71ff376b87f992dbc573e790c496963ce (patch)
tree9e09484a34fb2853d99e01affd8a091183a3e6c6
parent594c7f2b31a3993318b7457ec7c19738873eade7 (diff)
[Test][Theme] Update test for downgrade error
-rw-r--r--test/theme-parser-test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c
index 82b77844..527eec2c 100644
--- a/test/theme-parser-test.c
+++ b/test/theme-parser-test.c
@@ -1330,11 +1330,11 @@ START_TEST(test_import_error) {
const char *errstr = "Failed to open theme: <i>/non-existing-file.rasi</i>\n"
"Error: <b>No such file or directory</b>";
- ck_assert_int_eq(error, 1);
- ck_assert_str_eq(error_msg->str, errstr);
- g_string_free(error_msg, TRUE);
- error_msg = NULL;
- error = 0;
+ ck_assert_int_eq(warning, 1);
+ ck_assert_str_eq(warning_msg->str, errstr);
+ g_string_free(warning_msg, TRUE);
+ warning_msg = NULL;
+ warning = 0;
}
END_TEST
START_TEST(test_prepare_array) {