diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-04-24 12:29:45 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-04-24 12:29:45 +0200 |
commit | 97e54cd337bd3af78ca04530e122b214c1f69588 (patch) | |
tree | b85acc06c8b615f57688c71594e0ef8cfd347822 /t | |
parent | ae3444104b5e0266d8084fad6bd48707ba4a1e15 (diff) | |
download | manatools-97e54cd337bd3af78ca04530e122b214c1f69588.tar manatools-97e54cd337bd3af78ca04530e122b214c1f69588.tar.gz manatools-97e54cd337bd3af78ca04530e122b214c1f69588.tar.bz2 manatools-97e54cd337bd3af78ca04530e122b214c1f69588.tar.xz manatools-97e54cd337bd3af78ca04530e122b214c1f69588.zip |
Added N test
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; |