aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-04-24 12:29:45 +0200
committerAngelo Naselli <anaselli@linux.it>2015-04-24 12:29:45 +0200
commit97e54cd337bd3af78ca04530e122b214c1f69588 (patch)
treeb85acc06c8b615f57688c71594e0ef8cfd347822 /t
parentae3444104b5e0266d8084fad6bd48707ba4a1e15 (diff)
downloadcolin-keep-97e54cd337bd3af78ca04530e122b214c1f69588.tar
colin-keep-97e54cd337bd3af78ca04530e122b214c1f69588.tar.gz
colin-keep-97e54cd337bd3af78ca04530e122b214c1f69588.tar.bz2
colin-keep-97e54cd337bd3af78ca04530e122b214c1f69588.tar.xz
colin-keep-97e54cd337bd3af78ca04530e122b214c1f69588.zip
Added N test
Diffstat (limited to 't')
-rw-r--r--t/01-Locales.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/01-Locales.t b/t/01-Locales.t
index 5fef81e..c284008 100644
--- a/t/01-Locales.t
+++ b/t/01-Locales.t
@@ -7,7 +7,9 @@ BEGIN {
use_ok( 'ManaTools::Shared::Locales' ) || print "Locales failed!\n";
}
-ok( my $o = ManaTools::Shared::Locales->new({domain_name => 'test_ManaTools_Shared_Locales'}), 'create');
-is( $o->N_("test"), 'test', 'N' );
+ok( my $o = ManaTools::Shared::Locales->new({domain_name => 'manatools'}), 'create');
+is( $o->N_("test"), 'test', 'N_' );
+ok(my $cr = $o->N("Copyright (C) %s Mageia community", '2012-2015'), 'N');
+diag "Copyright string is: < " . ($cr ? $cr : "none") . " >";
done_testing;