aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-23 13:39:21 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-23 13:39:21 -0400
commitdfe55e8956fdcb8ee11b85b238a7d27f42063746 (patch)
treec82c0a2f05f719a7401b40eb4d49daede7d9ed17 /t
parent9cbcda14aca677008a7e2fe70463deda5cbdf34b (diff)
downloadikiwiki-dfe55e8956fdcb8ee11b85b238a7d27f42063746.tar
ikiwiki-dfe55e8956fdcb8ee11b85b238a7d27f42063746.tar.gz
Add keepextension parameter to htmlize hook. (Willu)
Diffstat (limited to 't')
-rwxr-xr-xt/pagename.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/pagename.t b/t/pagename.t
index 96e6a87f1..c7f1ce180 100755
--- a/t/pagename.t
+++ b/t/pagename.t
@@ -6,7 +6,7 @@ use Test::More tests => 5;
BEGIN { use_ok("IkiWiki"); }
# Used internally.
-$IkiWiki::hooks{htmlize}{mdwn}=1;
+$IkiWiki::hooks{htmlize}{mdwn}{call}=sub {};
is(pagename("foo.mdwn"), "foo");
is(pagename("foo/bar.mdwn"), "foo/bar");