aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_template_parser.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-19 00:16:36 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-04-19 00:16:36 -0300
commitfbc22f39090802845c3a046c3e10bae63d6af6cc (patch)
tree24e9ade2ec664e12df55463e854d36b97b1883c4 /tests/check_template_parser.c
parent8ae6250380b8d299627f707239972e78c8149d84 (diff)
downloadblogc-fbc22f39090802845c3a046c3e10bae63d6af6cc.tar.gz
blogc-fbc22f39090802845c3a046c3e10bae63d6af6cc.tar.bz2
blogc-fbc22f39090802845c3a046c3e10bae63d6af6cc.zip
fix test
Diffstat (limited to 'tests/check_template_parser.c')
-rw-r--r--tests/check_template_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check_template_parser.c b/tests/check_template_parser.c
index a0cd95c..b7ebd1c 100644
--- a/tests/check_template_parser.c
+++ b/tests/check_template_parser.c
@@ -96,7 +96,7 @@ test_template_parse_html(void **state)
" {% block single_source %}\n"
" <title>My cool blog >> {{ TITLE }}</title>\n"
" {% endblock %}\n"
- " {% block multiple_sources %}\n"
+ " {% block multiple_sources_once %}\n"
" <title>My cool blog - Main page</title>\n"
" {% endblock %}\n"
" </head>\n"
@@ -132,7 +132,7 @@ test_template_parse_html(void **state)
blogc_assert_template_stmt(stmts->next->next->next->next->next->next,
"\n ", BLOGC_TEMPLATE_CONTENT_STMT);
blogc_assert_template_stmt(stmts->next->next->next->next->next->next->next,
- "multiple_sources", BLOGC_TEMPLATE_BLOCK_STMT);
+ "multiple_sources_once", BLOGC_TEMPLATE_BLOCK_STMT);
b_slist_t *tmp = stmts->next->next->next->next->next->next->next->next;
blogc_assert_template_stmt(tmp,
"\n <title>My cool blog - Main page</title>\n ",