diff options
| -rw-r--r-- | tests/check_content_parser.c | 4 | 
1 files changed, 3 insertions, 1 deletions
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");  | 
