From 28b02d920aa9347f25bc28f5989919174d9f60a9 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Thu, 7 May 2015 01:37:26 -0300 Subject: content-parser: lots of random stuff --- tests/check_content_parser.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tests/check_content_parser.c') diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c index ab1bf49..6fec86c 100644 --- a/tests/check_content_parser.c +++ b/tests/check_content_parser.c @@ -325,8 +325,14 @@ test_content_parse_invalid_code(void **state) void test_content_parse_inline(void **state) { - char *html = blogc_content_parse_inline("**bola***asd* ``chunda``"); - assert_string_equal(html, "bolaasd chunda"); + char *html = blogc_content_parse_inline( + "**bola***asd* [![lol](http://google.com/lol.png) **lol** " + "\\[asd\\]\\(qwe\\)](http://google.com) ``chunda``"); + assert_string_equal(html, + "bolaasd " + " lol [asd](qwe) " + "chunda"); free(html); html = blogc_content_parse_inline("*bola*"); assert_string_equal(html, "bola"); -- cgit v1.2.3-18-g5258