summaryrefslogtreecommitdiff
path: root/src/locale/test-keymap-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/test-keymap-util.c')
-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 680aae6228..8dde764a50 100644
--- a/src/locale/test-keymap-util.c
+++ b/src/locale/test-keymap-util.c
@@ -84,11 +84,11 @@ static void test_find_legacy_keymap(void) {
assert_se(ans == NULL);
c.x11_layout = (char*) "pl";
- assert_se(find_legacy_keymap(&c, &ans) == 0); /* should this be 1? */
+ assert_se(find_legacy_keymap(&c, &ans) == 1);
assert_se(streq(ans, "pl2"));
c.x11_layout = (char*) "pl,ru";
- assert_se(find_legacy_keymap(&c, &ans2) == 0); /* should this be 1? */
+ assert_se(find_legacy_keymap(&c, &ans2) == 1);
assert_se(streq(ans, "pl2"));
}