summaryrefslogtreecommitdiffstats
path: root/t/basic.t
blob: 28d54c199a17dc5f0a4de87f4ffc4e61257783b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;

use Text::Handlebars;

my $tx = Text::Handlebars->new;

is(
    $tx->render_string(
        'Hello, {{dialect}} world!',
        { dialect => 'Handlebars' },
    ),
    'Hello, Handlebars world!',
);

done_testing;