diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-02 15:11:59 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-02 15:31:20 -0500 |
commit | f8163f38482ebe4a48b08a3f49080821e62e383b (patch) | |
tree | 83398b2cd786e538487d13e4d50a547d91b0bbbf /t/basic.t | |
parent | 5dc5000f75492b6f78d27fab3c56055d4534b5a7 (diff) | |
download | text-handlebars-f8163f38482ebe4a48b08a3f49080821e62e383b.tar.gz text-handlebars-f8163f38482ebe4a48b08a3f49080821e62e383b.zip |
refactor tests
Diffstat (limited to 't/basic.t')
-rw-r--r-- | t/basic.t | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -1,18 +1,15 @@ #!/usr/bin/env perl use strict; use warnings; +use lib 't/lib'; use Test::More; +use Test::Handlebars; -use Text::Handlebars; - -my $tx = Text::Handlebars->new; - -is( - $tx->render_string( - 'Hello, {{dialect}} world!', - { dialect => 'Handlebars' }, - ), +render_ok( + 'Hello, {{dialect}} world!', + { dialect => 'Handlebars' }, 'Hello, Handlebars world!', + "basic test" ); done_testing; |