kill some obsolete FIXME comments.

This commit is contained in:
Enno Rehling 2016-04-09 19:10:51 +02:00
parent a834c486d9
commit 8d6fba258f
2 changed files with 2 additions and 4 deletions

View File

@ -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();

View File

@ -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");