diff options
Diffstat (limited to 't')
-rw-r--r-- | t/01-Locales.t | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/01-Locales.t b/t/01-Locales.t index 5fef81e2..c284008f 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; |