diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-05 11:32:17 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-05 11:32:17 -0500 |
commit | e569779e3be9ec0fbdae803c1fe381d6ebf65bd3 (patch) | |
tree | 598c908aad694a34aa54425c8a0ef4b0d0fc3916 /t | |
parent | ff63679a7ff342532d5a28f43eef255fc5c3daf0 (diff) | |
download | text-handlebars-e569779e3be9ec0fbdae803c1fe381d6ebf65bd3.tar.gz text-handlebars-e569779e3be9ec0fbdae803c1fe381d6ebf65bd3.zip |
support {{this/foo}}
Diffstat (limited to 't')
-rw-r--r-- | t/expressions.t | 13 |
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", |