From 9d2a4d278fc90aebb81ee326fdff4856e123dccc Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 29 Jun 2016 22:59:38 +0200 Subject: content-parser: fixed tests --- tests/check_content_parser.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c index c6d8592..ca5a58d 100644 --- a/tests/check_content_parser.c +++ b/tests/check_content_parser.c @@ -1686,9 +1686,9 @@ test_content_parse_inline_em(void **state) assert_non_null(html); assert_string_equal(html, "bola\n"); free(html); - html = blogc_content_parse_inline("_bo\\*la_\n"); + html = blogc_content_parse_inline("_bo\\_la_\n"); assert_non_null(html); - assert_string_equal(html, "bo*la\n"); + assert_string_equal(html, "bo_la\n"); free(html); html = blogc_content_parse_inline("_**bola**_\n"); assert_non_null(html); @@ -1720,9 +1720,9 @@ test_content_parse_inline_strong(void **state) assert_non_null(html); assert_string_equal(html, "bola\n"); free(html); - html = blogc_content_parse_inline("**bo\*la**\n"); + html = blogc_content_parse_inline("**bo\\*\\*la**\n"); assert_non_null(html); - assert_string_equal(html, "bo*la\n"); + assert_string_equal(html, "bo**la\n"); free(html); html = blogc_content_parse_inline("__bola__"); assert_non_null(html); @@ -1732,9 +1732,9 @@ test_content_parse_inline_strong(void **state) assert_non_null(html); assert_string_equal(html, "bola\n"); free(html); - html = blogc_content_parse_inline("__bo\*la__\n"); + html = blogc_content_parse_inline("__bo\\_\\_la__\n"); assert_non_null(html); - assert_string_equal(html, "bo*la\n"); + assert_string_equal(html, "bo__la\n"); free(html); html = blogc_content_parse_inline("__*bola*__\n"); assert_non_null(html); -- cgit v1.2.3-18-g5258