diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-05 16:48:45 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-05 16:50:54 -0500 |
commit | 38805f6caa8155fecc3f24b74f1a89db1e2543cb (patch) | |
tree | 48dc3aa156b65b2fa5cda04483d9fa223a96659e /t | |
parent | dc22175fdfdc9a100cfc8e72efc6e6f7573835a1 (diff) | |
download | text-handlebars-38805f6caa8155fecc3f24b74f1a89db1e2543cb.tar.gz text-handlebars-38805f6caa8155fecc3f24b74f1a89db1e2543cb.zip |
hack to make normal helpers work for now
thinking about it some more, defining helpers separately from builtin
functions is a better idea, because helpers have to automatically
receive the context object, which makes them different from normal
functions. right now, i'm just special-casing mark_raw to avoid passing
the context object to it, but it needs to be more general than that
Diffstat (limited to 't')
-rw-r--r-- | t/helpers.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helpers.t b/t/helpers.t index 52b7e09..98a72ba 100644 --- a/t/helpers.t +++ b/t/helpers.t @@ -7,7 +7,6 @@ use Test::Handlebars; use Text::Xslate 'mark_raw'; -{ local $TODO = "unimplemented"; render_ok( { function => { @@ -61,6 +60,7 @@ RENDERED "helpers with literal args" ); +{ local $TODO = "unimplemented"; render_ok( { function => { |