From 16c03a8e0eddcc2ddaebcdf6e11d4ffc65461c44 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 3 Nov 2014 18:44:49 +0100 Subject: [PATCH] typo broke gcc build. --- src/kernel/group.test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/group.test.c b/src/kernel/group.test.c index d37a3ed41..e2834548f 100644 --- a/src/kernel/group.test.c +++ b/src/kernel/group.test.c @@ -27,7 +27,7 @@ static void test_group_readwrite(CuTest * tc) f = test_create_faction(0); g = new_group(f, "test", 42); al = ally_add(&g->allies, f); - al->status = HELP_COMMAND; + al->status = HELP_GIVE; write_groups(&store, f); binstore_done(&store); fclose(F); @@ -44,7 +44,7 @@ static void test_group_readwrite(CuTest * tc) CuAssertPtrNotNull(tc, f->groups->allies); CuAssertPtrEquals(tc, 0, f->groups->allies->next); CuAssertPtrEquals(tc, f, f->groups->allies->faction); - CuAssertIntEquals(tc, HELP_COMMAND, f->groups->allies->status); + CuAssertIntEquals(tc, HELP_GIVE, f->groups->allies->status); test_cleanup(); }