slight changes

This commit is contained in:
pantor
2020-07-13 21:17:59 +02:00
parent 6eb71dd3ea
commit f31378edaa
2 changed files with 3 additions and 2 deletions

View File

@@ -262,4 +262,5 @@ TEST_CASE("combinations") {
CHECK(env.render("{{ length(name) * 2.5 }}", data) == "12.5");
CHECK(env.render("{{ upper(first(sort(brother.daughters)) + \"_test\") }}", data) == "HELEN_TEST");
CHECK(env.render("{% for i in range(3) %}{{ at(names, i) }}{% endfor %}", data) == "JeffSebChris");
CHECK(env.render("{% if not is_happy or age > 26 %}TRUE{% endif %}", data) == "TRUE");
}