aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-04 12:54:10 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-04 14:03:58 -0300
commit6c36460f20548850b0704a462dd8281c7f5868a7 (patch)
treeca0673721e790e49d287c073b0e38041086ff85f /tests
parent32b7433a3587216a0c4370ed25f9e8cc3f6b8649 (diff)
downloadblogc-6c36460f20548850b0704a462dd8281c7f5868a7.tar.gz
blogc-6c36460f20548850b0704a462dd8281c7f5868a7.tar.bz2
blogc-6c36460f20548850b0704a462dd8281c7f5868a7.zip
content-parser: implemented more block elements
Diffstat (limited to 'tests')
-rw-r--r--tests/check_content_parser.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/check_content_parser.c b/tests/check_content_parser.c
index 86ba8d8..df14df3 100644
--- a/tests/check_content_parser.c
+++ b/tests/check_content_parser.c
@@ -44,6 +44,13 @@ test_content_parse(void **state)
" asd\n"
" qwewer\n"
"\n"
+ "+++\n"
+ "1. chunda\n"
+ "3. fuuuu\n"
+ "\n"
+ "+ chunda2\n"
+ "+ fuuuu2\n"
+ "\n"
"<style>\n"
" chunda\n"
"</style>\n"
@@ -71,6 +78,15 @@ test_content_parse(void **state)
"<pre><code>bola\n"
" asd\n"
"qwewer</code></pre>\n"
+ "<hr />\n"
+ "<ol>\n"
+ "<li>chunda</li>\n"
+ "<li>fuuuu</li>\n"
+ "</ol>\n"
+ "<ul>\n"
+ "<li>chunda2</li>\n"
+ "<li>fuuuu2</li>\n"
+ "</ul>\n"
"<style>\n"
" chunda\n"
"</style>\n"