summaryrefslogtreecommitdiffstats
path: root/t/basic.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-09-28 17:33:47 -0500
committerJesse Luehrs <doy@tozt.net>2012-09-28 17:33:47 -0500
commit49db5f5704835b7336c67ecf4ba14a5a5f3a8527 (patch)
treeff79270672e31a46a0cd36d48b8c4e0f7a9a85d6 /t/basic.t
parentc964148db9790676e892265327f567939619c349 (diff)
downloadtext-handlebars-49db5f5704835b7336c67ecf4ba14a5a5f3a8527.tar.gz
text-handlebars-49db5f5704835b7336c67ecf4ba14a5a5f3a8527.zip
remove test numbers
Diffstat (limited to 't/basic.t')
-rw-r--r--t/basic.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/t/basic.t b/t/basic.t
new file mode 100644
index 0000000..28d54c1
--- /dev/null
+++ b/t/basic.t
@@ -0,0 +1,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;