#!/usr/bin/env perl use strict; use warnings; use Test::More; use Text::Handlebars; my $tx = Text::Handlebars->new; is( $tx->render_string( '

{{title}}

', { title => 'Xslate rocks' }, ), '

Xslate rocks

', ); is( $tx->render_string( '

{{article.title}}

', { article => { title => 'Hash references rock' } }, ), '

Hash references rock

', ); is( $tx->render_string( '

{{article/title}}

', { article => { title => 'Deprecated syntax does not' } }, ), '

Deprecated syntax does not

', ); done_testing;