aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-05-22 17:10:46 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-05-22 17:12:44 +0200
commitcc0c4d6866bb876e1ba098bc7f70fb8f312e9fc2 (patch)
tree52a5885d71682901ee46060954d5e2c589be9675 /tests
parentee0c0a7256b64b1ac2dd46436a7b627eb08c7724 (diff)
downloadblogc-cc0c4d6866bb876e1ba098bc7f70fb8f312e9fc2.tar.gz
blogc-cc0c4d6866bb876e1ba098bc7f70fb8f312e9fc2.tar.bz2
blogc-cc0c4d6866bb876e1ba098bc7f70fb8f312e9fc2.zip
content-parser: do not use paragraphs inside blockquote for DESCRIPTION
Diffstat (limited to 'tests')
-rw-r--r--tests/check_content_parser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c
index 2444ebb..d3ef2b8 100644
--- a/tests/check_content_parser.c
+++ b/tests/check_content_parser.c
@@ -1153,7 +1153,7 @@ test_content_parse_description(void **state)
"</blockquote>\n"
"<p>bar</p>\n");
assert_non_null(d);
- assert_string_equal(d, "qwe");
+ assert_string_equal(d, "bar");
free(html);
free(d);
d = NULL;
@@ -1172,7 +1172,7 @@ test_content_parse_description(void **state)
"</blockquote>\n"
"<p>bar</p>\n");
assert_non_null(d);
- assert_string_equal(d, "qwe");
+ assert_string_equal(d, "bar");
free(html);
free(d);
}
@@ -1236,7 +1236,7 @@ test_content_parse_description_crlf(void **state)
"</blockquote>\r\n"
"<p>bar</p>\r\n");
assert_non_null(d);
- assert_string_equal(d, "qwe");
+ assert_string_equal(d, "bar");
free(html);
free(d);
d = NULL;
@@ -1255,7 +1255,7 @@ test_content_parse_description_crlf(void **state)
"</blockquote>\r\n"
"<p>bar</p>\r\n");
assert_non_null(d);
- assert_string_equal(d, "qwe");
+ assert_string_equal(d, "bar");
free(html);
free(d);
}