From e569779e3be9ec0fbdae803c1fe381d6ebf65bd3 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 5 Oct 2012 11:32:17 -0500 Subject: support {{this/foo}} --- t/expressions.t | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 't') diff --git a/t/expressions.t b/t/expressions.t index 8f48a5d..163c89b 100644 --- a/t/expressions.t +++ b/t/expressions.t @@ -123,6 +123,19 @@ render_ok( "nested current context" ); +render_ok( + '{{#hellos}}{{this/text}}{{/hellos}}', + { + hellos => [ + { text => 'hello' }, + { text => 'Hello' }, + { text => 'HELLO' }, + ], + }, + 'helloHelloHELLO', + "'this' with paths" +); + render_ok( '{{foo-bar}}', { -- cgit v1.2.3-54-g00ecf