forked from github/server
kill some obsolete FIXME comments.
This commit is contained in:
parent
a834c486d9
commit
8d6fba258f
|
@ -227,14 +227,13 @@ static void test_default_name(CuTest *tc) {
|
||||||
test_cleanup();
|
test_cleanup();
|
||||||
test_create_world();
|
test_create_world();
|
||||||
lang = get_or_create_locale("de");
|
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", "Zweiheit");
|
||||||
locale_setstring(lang, "unitdefault", "Einheit");
|
|
||||||
|
|
||||||
u = test_create_unit(test_create_faction(test_create_race("human")), findregion(0, 0));
|
u = test_create_unit(test_create_faction(test_create_race("human")), findregion(0, 0));
|
||||||
|
|
||||||
default_name(u, buf, sizeof(buf));
|
default_name(u, buf, sizeof(buf));
|
||||||
|
|
||||||
sprintf(compare, "Einheit %s", itoa36(u->no));
|
sprintf(compare, "Zweiheit %s", itoa36(u->no));
|
||||||
CuAssertStrEquals(tc, compare, buf);
|
CuAssertStrEquals(tc, compare, buf);
|
||||||
|
|
||||||
test_cleanup();
|
test_cleanup();
|
||||||
|
|
|
@ -253,7 +253,6 @@ static void test_write_unit(CuTest *tc) {
|
||||||
race *rc;
|
race *rc;
|
||||||
struct locale *lang;
|
struct locale *lang;
|
||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
/* FIXME: test emits ERROR: no translation for combat status status_aggressive in locale de */
|
|
||||||
|
|
||||||
test_cleanup();
|
test_cleanup();
|
||||||
rc = rc_get_or_create("human");
|
rc = rc_get_or_create("human");
|
||||||
|
|
Loading…
Reference in New Issue