fix include of in-memory templates

This commit is contained in:
pantor
2021-05-17 20:44:32 +02:00
parent ca3c7a0cd6
commit eac2162629
4 changed files with 30 additions and 16 deletions

View File

@@ -282,4 +282,5 @@ TEST_CASE("combinations") {
CHECK(env.render("{{ not true }}", data) == "false");
CHECK(env.render("{{ not (true) }}", data) == "false");
CHECK(env.render("{{ true or (true or true) }}", data) == "true");
CHECK(env.render("{{ at(list_of_objects, 1).b }}", data) == "3");
}