projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add cpan link
[ikiwiki.git]
/
t
/
pagespec_match_list.t
diff --git
a/t/pagespec_match_list.t
b/t/pagespec_match_list.t
index 309961f1c52f78e57dbd5000b65257feda408443..2ad7a910506b1ef3d98a207477eba8ebd9787340 100755
(executable)
--- a/
t/pagespec_match_list.t
+++ b/
t/pagespec_match_list.t
@@
-9,7
+9,11
@@
BEGIN { use_ok("IkiWiki"); }
$config{srcdir}=$config{destdir}="/dev/null";
IkiWiki::checkconfig();
-hook(type => "sort", id => "path", call => sub { $_[0] cmp $_[1] });
+{
+ package IkiWiki::SortSpec;
+
+ sub cmp_path { $a cmp $b }
+}
%pagesources=(
foo => "foo.mdwn",