forked from github/server
gcc ist pingelig
This commit is contained in:
parent
233ea9dce4
commit
aa2c13cffa
|
@ -496,7 +496,7 @@ void test_prepare_lighthouse_capacity(CuTest *tc) {
|
||||||
CuAssertIntEquals(tc, seen_neighbour, r2->seen.mode);
|
CuAssertIntEquals(tc, seen_neighbour, r2->seen.mode);
|
||||||
finish_reports(&ctx);
|
finish_reports(&ctx);
|
||||||
|
|
||||||
// lighthouse capacity is # of units, not people:
|
/* lighthouse capacity is # of units, not people: */
|
||||||
config_set_int("rules.lighthouse.unit_capacity", 1);
|
config_set_int("rules.lighthouse.unit_capacity", 1);
|
||||||
prepare_report(&ctx, u2->faction);
|
prepare_report(&ctx, u2->faction);
|
||||||
CuAssertPtrEquals(tc, r1, ctx.first);
|
CuAssertPtrEquals(tc, r1, ctx.first);
|
||||||
|
|
Loading…
Reference in New Issue