diff options
author | intrigeri <intrigeri@boum.org> | 2008-11-13 00:52:16 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-11-13 00:54:51 +0100 |
commit | c51202c11e1729d12014a78d545bd75db05acf02 (patch) | |
tree | a7afa372671594d1a8ff5920d14438194b283a2d /t | |
parent | 40324175aa19a9940d4e1d30d61dfef205d80dc9 (diff) | |
download | ikiwiki-c51202c11e1729d12014a78d545bd75db05acf02.tar ikiwiki-c51202c11e1729d12014a78d545bd75db05acf02.tar.gz |
po.t: cleanup
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 't')
-rwxr-xr-x | t/po.t | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -67,32 +67,21 @@ foreach my $page (keys %pagesources) { ### istranslatable/istranslation # we run these tests twice because memoization attempts made them # succeed once every two tries... +foreach (1, 2) { ok(IkiWiki::Plugin::po::istranslatable('index'), "index is translatable"); -ok(IkiWiki::Plugin::po::istranslatable('index'), "index is translatable"); -ok(IkiWiki::Plugin::po::istranslatable('/index'), "/index is translatable"); ok(IkiWiki::Plugin::po::istranslatable('/index'), "/index is translatable"); ok(! IkiWiki::Plugin::po::istranslatable('index.fr'), "index.fr is not translatable"); -ok(! IkiWiki::Plugin::po::istranslatable('index.fr'), "index.fr is not translatable"); -ok(! IkiWiki::Plugin::po::istranslatable('index.es'), "index.es is not translatable"); ok(! IkiWiki::Plugin::po::istranslatable('index.es'), "index.es is not translatable"); ok(! IkiWiki::Plugin::po::istranslatable('/index.fr'), "/index.fr is not translatable"); -ok(! IkiWiki::Plugin::po::istranslatable('/index.fr'), "/index.fr is not translatable"); -ok(! IkiWiki::Plugin::po::istranslation('index'), "index is not a translation"); ok(! IkiWiki::Plugin::po::istranslation('index'), "index is not a translation"); ok(IkiWiki::Plugin::po::istranslation('index.fr'), "index.fr is a translation"); -ok(IkiWiki::Plugin::po::istranslation('index.fr'), "index.fr is a translation"); ok(IkiWiki::Plugin::po::istranslation('index.es'), "index.es is a translation"); -ok(IkiWiki::Plugin::po::istranslation('index.es'), "index.es is a translation"); -ok(IkiWiki::Plugin::po::istranslation('/index.fr'), "/index.fr is a translation"); ok(IkiWiki::Plugin::po::istranslation('/index.fr'), "/index.fr is a translation"); ok(IkiWiki::Plugin::po::istranslatable('test2'), "test2 is translatable"); -ok(IkiWiki::Plugin::po::istranslatable('test2'), "test2 is translatable"); -ok(! IkiWiki::Plugin::po::istranslation('test2'), "test2 is not a translation"); ok(! IkiWiki::Plugin::po::istranslation('test2'), "test2 is not a translation"); ok(! IkiWiki::Plugin::po::istranslatable('test3'), "test3 is not translatable"); -ok(! IkiWiki::Plugin::po::istranslatable('test3'), "test3 is not translatable"); -ok(! IkiWiki::Plugin::po::istranslation('test3'), "test3 is not a translation"); ok(! IkiWiki::Plugin::po::istranslation('test3'), "test3 is not a translation"); +} ### links require IkiWiki::Render; |