From bc77a047d62111a0be193ff94d387ae24c92bce2 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 12 Oct 2015 14:47:58 -0300 Subject: content-parser: added missing test --- tests/check_content_parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/check_content_parser.c') diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c index f1430ac..37c1761 100644 --- a/tests/check_content_parser.c +++ b/tests/check_content_parser.c @@ -22,7 +22,9 @@ static void test_slugify(void **state) { - char *s = blogc_slugify("bola"); + char *s = blogc_slugify(NULL); + assert_null(s); + s = blogc_slugify("bola"); assert_string_equal(s, "bola"); free(s); s = blogc_slugify("bola o"); -- cgit v1.2.3-18-g5258