summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-05 10:39:27 -0500
committerJesse Luehrs <doy@tozt.net>2012-10-05 10:39:27 -0500
commit1a010552eeb2a965c92fab007c45f8e59ac60b02 (patch)
tree1c384604ddc6a5101302edce2ced26e66bafc8d4 /t
parentd94b450ad15be78a1ead0b614b853e659370119b (diff)
downloadtext-handlebars-1a010552eeb2a965c92fab007c45f8e59ac60b02.tar.gz
text-handlebars-1a010552eeb2a965c92fab007c45f8e59ac60b02.zip
implement else blocks
Diffstat (limited to 't')
-rw-r--r--t/block-helper-builtins.t2
-rw-r--r--t/block-helpers.t2
2 files changed, 1 insertions, 3 deletions
diff --git a/t/block-helper-builtins.t b/t/block-helper-builtins.t
index 9540b27..fe1763b 100644
--- a/t/block-helper-builtins.t
+++ b/t/block-helper-builtins.t
@@ -94,7 +94,6 @@ RENDERED
"if helper (true)"
);
-{ local $TODO = "unimplemented";
render_ok(
<<'TEMPLATE',
<div class="entry">
@@ -136,7 +135,6 @@ TEMPLATE
RENDERED
"if/else helper (true)"
);
-}
render_ok(
<<'TEMPLATE',
diff --git a/t/block-helpers.t b/t/block-helpers.t
index 50f3fe0..961b2dc 100644
--- a/t/block-helpers.t
+++ b/t/block-helpers.t
@@ -227,7 +227,6 @@ RENDERED
"if helper (false)"
);
-{ local $TODO = "unimplemented"; local $SIG{__WARN__} = sub { };
render_ok(
{
function => {
@@ -288,6 +287,7 @@ RENDERED
"if/else helper (false)"
);
+{ local $TODO = "unimplemented"; local $SIG{__WARN__} = sub { };
render_ok(
{
function => {