From f33b30f661c0a43fb1bae72ca3b199e0b964515c Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 29 Jun 2016 02:42:56 +0200 Subject: content-parser: added more line break tests --- tests/check_content_parser.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') 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); } -- cgit v1.2.3-18-g5258