summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-04 17:26:31 -0500
committerJesse Luehrs <doy@tozt.net>2012-10-04 17:26:31 -0500
commitcfbd9cd78c34ed3f9e123b8a7988d778bc389ef1 (patch)
tree95b05bcc25732046b6bd8fca555ded21a648000e /t
parentd678d91d7a48f8fa01aec2f0bbf86c97a214468d (diff)
downloadtext-handlebars-cfbd9cd78c34ed3f9e123b8a7988d778bc389ef1.tar.gz
text-handlebars-cfbd9cd78c34ed3f9e123b8a7988d778bc389ef1.zip
todo test for array dereferencing
Diffstat (limited to 't')
-rw-r--r--t/expressions.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/expressions.t b/t/expressions.t
index 4cdc403..08d0894 100644
--- a/t/expressions.t
+++ b/t/expressions.t
@@ -73,4 +73,18 @@ render_ok(
"backtracking into other hash variables with ../ and ."
);
+{ local $TODO = "unimplemented";
+render_ok(
+ '{{articles.[10].comments}}',
+ {
+ articles => [
+ (({}) x 10),
+ { comments => "First post!" },
+ ],
+ },
+ 'First post!',
+ "array dereferencing"
+);
+}
+
done_testing;