diff --git a/src/kernel/unit.test.c b/src/kernel/unit.test.c index 807a27327..dc0484bf7 100644 --- a/src/kernel/unit.test.c +++ b/src/kernel/unit.test.c @@ -227,14 +227,13 @@ static void test_default_name(CuTest *tc) { test_cleanup(); test_create_world(); lang = get_or_create_locale("de"); - /* FIXME this has no real effect: default_name uses a static buffer that is initialized in some other test. This sucks. */ - locale_setstring(lang, "unitdefault", "Einheit"); + locale_setstring(lang, "unitdefault", "Zweiheit"); u = test_create_unit(test_create_faction(test_create_race("human")), findregion(0, 0)); default_name(u, buf, sizeof(buf)); - sprintf(compare, "Einheit %s", itoa36(u->no)); + sprintf(compare, "Zweiheit %s", itoa36(u->no)); CuAssertStrEquals(tc, compare, buf); test_cleanup(); diff --git a/src/reports.test.c b/src/reports.test.c index e00e50a8b..32265ec02 100644 --- a/src/reports.test.c +++ b/src/reports.test.c @@ -253,7 +253,6 @@ static void test_write_unit(CuTest *tc) { race *rc; struct locale *lang; char buffer[1024]; - /* FIXME: test emits ERROR: no translation for combat status status_aggressive in locale de */ test_cleanup(); rc = rc_get_or_create("human");