summaryrefslogtreecommitdiffstats
path: root/t/blocks.t
diff options
context:
space:
mode:
Diffstat (limited to 't/blocks.t')
-rw-r--r--t/blocks.t9
1 files changed, 9 insertions, 0 deletions
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;