diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/po.t | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -150,10 +150,11 @@ $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 -> ''"); +$config{po_link_to}='negotiated'; $msgprefix="urlto (po_link_to=negotiated)"; -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('', 'index'), './', "$msgprefix index -> ''"); +is(urlto('', 'nontranslatable'), './../', "$msgprefix nontranslatable -> ''"); +is(urlto('', 'translatable.fr'), './../', "$msgprefix translatable.fr -> ''"); ### bestlink $config{po_link_to}='current'; |