From 4d622224aa73db91663215de932cb3712fc92c6f Mon Sep 17 00:00:00 2001 From: Philipp Dreher Date: Sat, 7 Nov 2015 14:47:14 +0100 Subject: [PATCH] added message cleanup --- src/laws.test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/laws.test.c b/src/laws.test.c index 34434b665..4c63aedcf 100644 --- a/src/laws.test.c +++ b/src/laws.test.c @@ -1235,6 +1235,7 @@ static void test_show_without_item(CuTest *tc) reshow_cmd(u, ord); CuAssertTrue(tc, test_find_messagetype(u->faction->msgs, "error21") == NULL); CuAssertTrue(tc, test_find_messagetype(u->faction->msgs, "error36") == NULL); + test_clear_messages(u->faction); free_order(ord); test_cleanup();