diff options
Diffstat (limited to 't')
-rw-r--r-- | t/expressions.t | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/t/expressions.t b/t/expressions.t index 0026dbe..8f48a5d 100644 --- a/t/expressions.t +++ b/t/expressions.t @@ -123,4 +123,24 @@ render_ok( "nested current context" ); +render_ok( + '{{foo-bar}}', + { + 'foo-bar' => "FOOBAR", + }, + 'FOOBAR', + "- is a valid character" +); + +render_ok( + '{{foo.foo-bar}}', + { + foo => { + 'foo-bar' => "FOOBAR", + }, + }, + 'FOOBAR', + "- is a valid character" +); + done_testing; |