aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-12-30 21:36:40 +0100
committerintrigeri <intrigeri@boum.org>2008-12-30 21:36:40 +0100
commitc01485ae1ad751ac87eb3cfa392f6d276d5b1157 (patch)
tree62dd6f1ba3df0f6a669c08528f32be4202463ce4 /t
parent4e4fb18dbecf22a9eeea37f2632924f6d1ea67da (diff)
downloadikiwiki-c01485ae1ad751ac87eb3cfa392f6d276d5b1157.tar
ikiwiki-c01485ae1ad751ac87eb3cfa392f6d276d5b1157.tar.gz
renamed the renamepage hook to renamelink, added rename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 't')
-rwxr-xr-xt/renamepage.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/renamepage.t b/t/renamepage.t
index a706cbb46..0aa3a1c9f 100755
--- a/t/renamepage.t
+++ b/t/renamepage.t
@@ -11,7 +11,7 @@ BEGIN { use_ok("IkiWiki::Plugin::link"); }
$config{srcdir}=$config{destdir}="/dev/null";
IkiWiki::checkconfig();
-# tests of the link plugin's renamepage function
+# tests of the link plugin's renamelink function
sub try {
my ($page, $oldpage, $newpage, $content)=@_;
@@ -23,7 +23,7 @@ sub try {
$links{$page}=[];
}
- IkiWiki::Plugin::link::renamepage(
+ IkiWiki::Plugin::link::renamelink(
page => $page,
oldpage => $oldpage,
newpage => $newpage,