fix remaining unit test after guard changes.

This commit is contained in:
Enno Rehling 2016-10-31 20:10:17 +01:00
parent 0bcb3a853f
commit 313d988e59
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ static void test_build_destroy_road_guard(CuTest *tc)
CuAssertPtrEquals(tc, 0, test_find_messagetype(f->msgs, "destroy_road"));
test_clear_messages(f);
setguard(ug, true);
setguard(ug, false);
CuAssertIntEquals(tc, 0, destroy_cmd(u, ord));
CuAssertIntEquals(tc, 99, rroad(r, D_EAST));