mirror of
https://github.com/pantor/inja.git
synced 2026-04-04 15:18:53 +00:00
Add Child Inheritance Feature (#198)
* add block and extend feature * constify, code cleaning * update single include * add html language to readme * clean tests * constantify, update year
This commit is contained in:
@@ -27,7 +27,7 @@ TEST_CASE("loading") {
|
||||
TEST_CASE("complete-files") {
|
||||
inja::Environment env {test_file_directory};
|
||||
|
||||
for (std::string test_name : {"simple-file", "nested", "nested-line", "html"}) {
|
||||
for (std::string test_name : {"simple-file", "nested", "nested-line", "html", "html-extend"}) {
|
||||
SUBCASE(test_name.c_str()) {
|
||||
CHECK(env.render_file_with_json_file(test_name + "/template.txt", test_name + "/data.json") ==
|
||||
env.load_file(test_name + "/result.txt"));
|
||||
|
||||
Reference in New Issue
Block a user