diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-02-02 14:11:15 -0500 |
---|---|---|
committer | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-02-02 14:11:15 -0500 |
commit | 91b477c08789142667aad8e3c737e9b9a4d4ce64 (patch) | |
tree | ecdac70b4f36ff48c6b34c006172fde4c45738fa /t | |
parent | 0f3f809a45f25e6a32ff505c5d8d3da43be77abb (diff) | |
download | ikiwiki-91b477c08789142667aad8e3c737e9b9a4d4ce64.tar ikiwiki-91b477c08789142667aad8e3c737e9b9a4d4ce64.tar.gz |
Fix diffurl links (cvsweb expects unescaped '/').
Diffstat (limited to 't')
-rwxr-xr-x | t/cvs.t | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -388,6 +388,12 @@ sub test_rcs_diff { @changes = IkiWiki::rcs_recentchanges(3); is_total_number_of_changes(\@changes, 1); + unlike( + $changes[0]->{pages}->[0]->{diffurl}, + qr/%2F/m, + q{path separators are preserved when UTF-8scaping filename}, + ); + my $changeset = 1; my $maxlines = undef; @@ -573,6 +579,7 @@ sub _generate_test_config { $config{cvsrepo} = "$dir/repo"; $config{cvspath} = "ikiwiki"; use Cwd; $config{templatedir} = getcwd() . '/templates'; + $config{diffurl} = "/nonexistent/cvsweb/[[file]]"; IkiWiki::loadplugins(); IkiWiki::checkconfig(); } |