From 3ec1476da2b95a1fb1dec6cedfbbd0f0e51d4ee7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 11 Jun 2017 17:13:31 +0200 Subject: [PATCH] improve the mailcmd test --- src/kernel/config.test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kernel/config.test.c b/src/kernel/config.test.c index 40adaa364..ac35b85a3 100644 --- a/src/kernel/config.test.c +++ b/src/kernel/config.test.c @@ -278,6 +278,7 @@ static void test_game_mailcmd(CuTest *tc) { CuAssertStrEquals(tc, "Eressea", game_name()); CuAssertStrEquals(tc, "ERESSEA", game_mailcmd()); config_set("game.name", "Hodor"); + config_set("game.mailcmd", NULL); CuAssertStrEquals(tc, "Hodor", game_name()); CuAssertStrEquals(tc, "HODOR", game_mailcmd()); config_set("game.mailcmd", "ERESSEA");