diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_template.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_template.c b/tests/test_template.c index d4f4e7f..92f179c 100644 --- a/tests/test_template.c +++ b/tests/test_template.c @@ -215,14 +215,12 @@ TEST(buffer_alloc) { free(output); } -TEST(directory) { +TEST(inheritance) { struct env *env = env_new("./tests/data/01/"); char *output = template(env, "child.tmpl", NULL); - assert_str(output, "Header\n\nChild content\n\nFooter"); + assert_str(output, "Header\n\n\nChild content\n\n\n\nFooter\n"); free(output); env_free(env); } - - END_TESTS
\ No newline at end of file |