aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-12-30 18:55:32 +0100
committerintrigeri <intrigeri@boum.org>2008-12-30 18:55:32 +0100
commit4e4fb18dbecf22a9eeea37f2632924f6d1ea67da (patch)
treee13780cf8f5c9984df6265c194e99e007c3cbe28
parent21add7ffa87a5e622d18bdbb24c638c15bdb3800 (diff)
downloadikiwiki-4e4fb18dbecf22a9eeea37f2632924f6d1ea67da.tar
ikiwiki-4e4fb18dbecf22a9eeea37f2632924f6d1ea67da.tar.gz
po.t: adapted a few tests to match the current ikiwiki behaviour
Signed-off-by: intrigeri <intrigeri@boum.org>
-rwxr-xr-xt/po.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/po.t b/t/po.t
index e5f56a08d..827e7c7a5 100755
--- a/t/po.t
+++ b/t/po.t
@@ -143,13 +143,13 @@ is(targetpage('test3.es', 'html'), 'test3.es/index.html', "$msgprefix test3.es (
$config{po_link_to}='current';
$msgprefix="urlto (po_link_to=current)";
is(urlto('', 'index'), './index.en.html', "$msgprefix index -> ''");
-is(urlto('', 'nontranslatable'), './../index.en.html', "$msgprefix nontranslatable -> ''");
-is(urlto('', 'translatable.fr'), './../index.fr.html', "$msgprefix translatable.fr -> ''");
+is(urlto('', 'nontranslatable'), '../index.en.html', "$msgprefix nontranslatable -> ''");
+is(urlto('', 'translatable.fr'), '../index.fr.html', "$msgprefix translatable.fr -> ''");
$config{po_link_to}='negotiated';
$msgprefix="urlto (po_link_to=negotiated)";
is(urlto('', 'index'), './', "$msgprefix index -> ''");
-is(urlto('', 'nontranslatable'), './../', "$msgprefix nontranslatable -> ''");
-is(urlto('', 'translatable.fr'), './../', "$msgprefix translatable.fr -> ''");
+is(urlto('', 'nontranslatable'), '../', "$msgprefix nontranslatable -> ''");
+is(urlto('', 'translatable.fr'), '../', "$msgprefix translatable.fr -> ''");
### bestlink
$config{po_link_to}='current';