]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/renamepage.t
bugfix
[git.ikiwiki.info.git] / t / renamepage.t
index 0aa3a1c9fda8b127446516490429de1b2c01f164..a706cbb46a15466c0adf9e579a0aeabf12f01ec6 100755 (executable)
@@ -11,7 +11,7 @@ BEGIN { use_ok("IkiWiki::Plugin::link"); }
 $config{srcdir}=$config{destdir}="/dev/null";
 IkiWiki::checkconfig();
 
-# tests of the link plugin's renamelink function
+# tests of the link plugin's renamepage function
 sub try {
        my ($page, $oldpage, $newpage, $content)=@_;
 
@@ -23,7 +23,7 @@ sub try {
                $links{$page}=[];
        }
 
-       IkiWiki::Plugin::link::renamelink(
+       IkiWiki::Plugin::link::renamepage(
                        page => $page, 
                        oldpage => $oldpage,
                        newpage => $newpage,