aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/check_content_parser.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c
index b0272fb..c6d8592 100644
--- a/tests/check_content_parser.c
+++ b/tests/check_content_parser.c
@@ -2067,6 +2067,14 @@ test_content_parse_inline_line_break(void **state)
assert_non_null(html);
assert_string_equal(html, "asd \n");
free(html);
+ html = blogc_content_parse_inline("asd a\n");
+ assert_non_null(html);
+ assert_string_equal(html, "asd a\n");
+ free(html);
+ html = blogc_content_parse_inline("asd a\n");
+ assert_non_null(html);
+ assert_string_equal(html, "asd a\n");
+ free(html);
}