From a8ec8e389166adc1231930028bf845da5f9f40ef Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 3 Jul 2016 03:59:29 +0200 Subject: template-parser: fixed error message --- tests/check_template_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/check_template_parser.c b/tests/check_template_parser.c index e94b9c7..d2d5e8d 100644 --- a/tests/check_template_parser.c +++ b/tests/check_template_parser.c @@ -576,7 +576,7 @@ test_template_parse_invalid_block_name(void **state) assert_int_equal(err->type, BLOGC_ERROR_TEMPLATE_PARSER); assert_string_equal(err->msg, "Invalid statement type: Allowed types are: 'block', 'endblock', 'ifdef', " - "'ifndef', 'endif', 'foreach' and 'endforeach'.\n" + "'ifndef', 'else', 'endif', 'foreach' and 'endforeach'.\n" "Error occurred near line 1, position 10: {% chunda %}"); blogc_error_free(err); } -- cgit v1.2.3-18-g5258