diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-05 11:55:28 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-05 11:55:28 -0500 |
commit | 9191972488f91494a77025d27a2150a202dd0c1c (patch) | |
tree | 3cb2fb6bee76bc68d0f9a7758990c1032e83019c | |
parent | 82129e56d7e351e75513960785a9a65d4b66e9bf (diff) | |
download | text-handlebars-9191972488f91494a77025d27a2150a202dd0c1c.tar.gz text-handlebars-9191972488f91494a77025d27a2150a202dd0c1c.zip |
test empty blocks
-rw-r--r-- | t/blocks.t | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -61,4 +61,13 @@ render_ok( "\@index variable" ); +render_ok( + '{{#foo}}{{/foo}}bar', + { + foo => [ 1, 2, 3 ], + }, + 'bar', + "empty block" +); + done_testing; |