mirror of
https://github.com/pantor/inja.git
synced 2026-02-17 09:03:58 +00:00
dont copy strings into textnodes
This commit is contained in:
@@ -74,6 +74,7 @@ TEST_CASE("functions") {
|
||||
SUBCASE("at") {
|
||||
CHECK(env.render("{{ at(names, 0) }}", data) == "Jeff");
|
||||
CHECK(env.render("{{ at(names, i) }}", data) == "Seb");
|
||||
// CHECK(env.render("{{ at(names, 45) }}", data) == "Jeff");
|
||||
}
|
||||
|
||||
SUBCASE("first") {
|
||||
|
||||
Reference in New Issue
Block a user