From 9191972488f91494a77025d27a2150a202dd0c1c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 5 Oct 2012 11:55:28 -0500 Subject: test empty blocks --- t/blocks.t | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/t/blocks.t b/t/blocks.t index 8b44e9d..e34ef36 100644 --- a/t/blocks.t +++ b/t/blocks.t @@ -61,4 +61,13 @@ render_ok( "\@index variable" ); +render_ok( + '{{#foo}}{{/foo}}bar', + { + foo => [ 1, 2, 3 ], + }, + 'bar', + "empty block" +); + done_testing; -- cgit v1.2.3