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)
downloadcolin-keep-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.tar
colin-keep-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.tar.gz
colin-keep-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.tar.bz2
colin-keep-acfbf2e31ca353b98a0e0c01f8bfa6f90e57d410.tar.xz
colin-keep-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 0000000..59d3455
--- /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;