forked from github/server
fix remaining unit test after guard changes.
This commit is contained in:
parent
0bcb3a853f
commit
313d988e59
|
@ -345,7 +345,7 @@ static void test_build_destroy_road_guard(CuTest *tc)
|
||||||
CuAssertPtrEquals(tc, 0, test_find_messagetype(f->msgs, "destroy_road"));
|
CuAssertPtrEquals(tc, 0, test_find_messagetype(f->msgs, "destroy_road"));
|
||||||
|
|
||||||
test_clear_messages(f);
|
test_clear_messages(f);
|
||||||
setguard(ug, true);
|
setguard(ug, false);
|
||||||
|
|
||||||
CuAssertIntEquals(tc, 0, destroy_cmd(u, ord));
|
CuAssertIntEquals(tc, 0, destroy_cmd(u, ord));
|
||||||
CuAssertIntEquals(tc, 99, rroad(r, D_EAST));
|
CuAssertIntEquals(tc, 99, rroad(r, D_EAST));
|
||||||
|
|
Loading…
Reference in New Issue