diff --git a/tests/20config.tests b/tests/20config.tests index bbcd4debd..65dfb5404 100644 --- a/tests/20config.tests +++ b/tests/20config.tests @@ -135,3 +135,8 @@ END PLANNED "bool set" < + Simeon Voelkel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -21,6 +22,7 @@ #include "lib/safeclib.h" #include "backend/config.h" +#include "backend/configitem.h" #include "tests/test.h" @@ -125,5 +127,25 @@ TEST ("word_get") lumiera_config_destroy (); } +TEST ("empty_line_configitem") +{ + LumieraConfigitem item; + + item = lumiera_configitem_new ( "" ); + + lumiera_configitem_delete(item); + item = NULL; +} + +TEST ("blank_line_configitem") +{ + LumieraConfigitem item; + + item = lumiera_configitem_new ( " " ); + + lumiera_configitem_delete(item); + item = NULL; +} + TESTS_END