aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
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;