summaryrefslogtreecommitdiffstats
path: root/t/expressions.t
diff options
context:
space:
mode:
Diffstat (limited to 't/expressions.t')
-rw-r--r--t/expressions.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/expressions.t b/t/expressions.t
index 8f48a5d..163c89b 100644
--- a/t/expressions.t
+++ b/t/expressions.t
@@ -124,6 +124,19 @@ render_ok(
);
render_ok(
+ '{{#hellos}}{{this/text}}{{/hellos}}',
+ {
+ hellos => [
+ { text => 'hello' },
+ { text => 'Hello' },
+ { text => 'HELLO' },
+ ],
+ },
+ 'helloHelloHELLO',
+ "'this' with paths"
+);
+
+render_ok(
'{{foo-bar}}',
{
'foo-bar' => "FOOBAR",