added message cleanup

This commit is contained in:
Philipp Dreher 2015-11-07 14:47:14 +01:00
parent 5e85945c94
commit 4d622224aa
1 changed files with 1 additions and 0 deletions

View File

@ -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();