aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_content_parser.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-05 19:39:45 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-05 19:39:45 +0100
commitde986bafd7d765e94059c0e88df93a352d85d7aa (patch)
treec7a2bd75c681bbf68ce17ad3382b5dfc75813e92 /tests/check_content_parser.c
parent2bfe68f6f9fdd34588b8dde73c1a4e96c5a54b7d (diff)
downloadblogc-de986bafd7d765e94059c0e88df93a352d85d7aa.tar.gz
blogc-de986bafd7d765e94059c0e88df93a352d85d7aa.tar.bz2
blogc-de986bafd7d765e94059c0e88df93a352d85d7aa.zip
content-parser: fixed a bug in previous patch
Diffstat (limited to 'tests/check_content_parser.c')
-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 bc21317..d9d2528 100644
--- a/tests/check_content_parser.c
+++ b/tests/check_content_parser.c
@@ -117,7 +117,7 @@ test_content_parse(void **state)
"yay\n"
"\n"
"**bola**\n"
- "-- foo\n"
+ "-- foo-bar\n"
"--- bar\n"
"\n"
"-- asd\n"
@@ -157,7 +157,7 @@ test_content_parse(void **state)
"<p>guda\n"
"yay</p>\n"
"<p><strong>bola</strong>\n"
- "&mdash; foo\n"
+ "&mdash; foo-bar\n"
"&ndash; bar</p>\n"
"<p>&mdash; asd</p>\n"
"<p>&ndash; lol</p>\n");
@@ -205,7 +205,7 @@ test_content_parse_crlf(void **state)
"yay\r\n"
"\r\n"
"**bola**\r\n"
- "-- foo\r\n"
+ "-- foo-bar\r\n"
"--- bar\r\n"
"\r\n"
"-- asd\r\n"
@@ -245,7 +245,7 @@ test_content_parse_crlf(void **state)
"<p>guda\r\n"
"yay</p>\r\n"
"<p><strong>bola</strong>\r\n"
- "&mdash; foo\r\n"
+ "&mdash; foo-bar\r\n"
"&ndash; bar</p>\r\n"
"<p>&mdash; asd</p>\r\n"
"<p>&ndash; lol</p>\r\n");