tests: print_string: test if NULL is printed as empty string

This commit is contained in:
Max Bruckner 2017-02-20 12:46:38 +01:00
parent 6a746a230a
commit 88e38d042f

View File

@ -40,6 +40,7 @@ static void assert_print_string(const char *expected, const char *input)
static void print_string_should_print_empty_strings(void)
{
assert_print_string("\"\"", "");
assert_print_string("\"\"", NULL);
}
static void print_string_should_print_ascii(void)