From 8fca34e8248012e7bb46e715a3af03925039a986 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 12 Mar 2011 16:58:12 -0800 Subject: [PATCH] SUITE_ADD_TEST is a macro and doesn't want this syntax --- src/gamecode/laws_test.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gamecode/laws_test.c b/src/gamecode/laws_test.c index 476b1fab2..367a9c629 100644 --- a/src/gamecode/laws_test.c +++ b/src/gamecode/laws_test.c @@ -214,13 +214,13 @@ static void test_cannot_create_unit_above_limit(CuTest * tc) CuSuite *get_laws_suite(void) { CuSuite *suite = CuSuiteNew(); - SUITE_ADD_TEST(suite, &test_new_building_can_be_renamed); - SUITE_ADD_TEST(suite, &test_rename_building); - SUITE_ADD_TEST(suite, &test_rename_building_twice); - SUITE_ADD_TEST(suite, &test_fishing_feeds_2_people); - SUITE_ADD_TEST(suite, &test_fishing_does_not_give_goblins_money); - SUITE_ADD_TEST(suite, &test_fishing_gets_reset); - SUITE_ADD_TEST(suite, &test_unit_limit); - SUITE_ADD_TEST(suite, &test_cannot_create_unit_above_limit); + SUITE_ADD_TEST(suite, test_new_building_can_be_renamed); + SUITE_ADD_TEST(suite, test_rename_building); + SUITE_ADD_TEST(suite, test_rename_building_twice); + SUITE_ADD_TEST(suite, test_fishing_feeds_2_people); + SUITE_ADD_TEST(suite, test_fishing_does_not_give_goblins_money); + SUITE_ADD_TEST(suite, test_fishing_gets_reset); + SUITE_ADD_TEST(suite, test_unit_limit); + SUITE_ADD_TEST(suite, test_cannot_create_unit_above_limit); return suite; }