summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/locale/test-keymap-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/locale/test-keymap-util.c b/src/locale/test-keymap-util.c
index 7e2c9e505a..2adda3da2b 100644
--- a/src/locale/test-keymap-util.c
+++ b/src/locale/test-keymap-util.c
@@ -58,8 +58,8 @@ static void test_find_converted_keymap(void) {
assert_se(r == 1);
assert_se(streq(ans, "pl"));
- assert_se(find_converted_keymap("pl", "dvorak", &ans) == 1);
- assert_se(streq(ans, "pl-dvorak"));
+ assert_se(find_converted_keymap("pl", "dvorak", &ans2) == 1);
+ assert_se(streq(ans2, "pl-dvorak"));
}
static void test_find_legacy_keymap(void) {