diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-04 17:26:31 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-04 17:26:31 -0500 |
commit | cfbd9cd78c34ed3f9e123b8a7988d778bc389ef1 (patch) | |
tree | 95b05bcc25732046b6bd8fca555ded21a648000e /t/expressions.t | |
parent | d678d91d7a48f8fa01aec2f0bbf86c97a214468d (diff) | |
download | text-handlebars-cfbd9cd78c34ed3f9e123b8a7988d778bc389ef1.tar.gz text-handlebars-cfbd9cd78c34ed3f9e123b8a7988d778bc389ef1.zip |
todo test for array dereferencing
Diffstat (limited to 't/expressions.t')
-rw-r--r-- | t/expressions.t | 14 |
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; |