aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-02-09 22:46:55 +0100
committerAngelo Naselli <anaselli@linux.it>2014-02-09 22:46:55 +0100
commitacfbf2e31ca353b98a0e0c01f8bfa6f90e57d410 (patch)
tree9cb9d4e4180b8f9004fb43235cb99ec0172b3f9b /t
parent2a77f55cc6d833d65c79af3984e8ee3ab477f4db (diff)
downloadmanatools-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.tar
manatools-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.tar.gz
manatools-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.tar.bz2
manatools-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.tar.xz
manatools-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.zip
Added test Locales, and requirements in makefile
Diffstat (limited to 't')
-rw-r--r--t/01-Locales.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/01-Locales.t b/t/01-Locales.t
new file mode 100644
index 00000000..59d3455d
--- /dev/null
+++ b/t/01-Locales.t
@@ -0,0 +1,14 @@
+#!perl -T
+use 5.006;
+use strict;
+use warnings FATAL => 'all';
+use Test::More;
+
+BEGIN {
+ use_ok( 'AdminPanel::Shared::Locales' ) || print "Locales failed!\n";
+}
+
+ok( my $o = AdminPanel::Shared::Locales->new({domain_name => 'test_AdminPanel_Shared_Locales'}), 'create');
+is( $o->N_("test"), 'test', 'N' );
+
+done_testing;