summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2010-04-05 22:50:51 +0100
committerSimon McVittie <smcv@debian.org>2010-04-05 22:50:51 +0100
commitcb8b2f80b2f8c91eba3f3a6a5b9913ab80326df8 (patch)
tree9e009b2f7ca8c34c59a1f5ecda786063227f0964 /t
parent490f95616a8a49f2120655d07c282eefd067e640 (diff)
Use $a and $b for SortSpec cmp callbacks
Diffstat (limited to 't')
-rwxr-xr-xt/pagespec_match_list.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/pagespec_match_list.t b/t/pagespec_match_list.t
index 68112f5c0..2ad7a9105 100755
--- a/t/pagespec_match_list.t
+++ b/t/pagespec_match_list.t
@@ -12,7 +12,7 @@ IkiWiki::checkconfig();
{
package IkiWiki::SortSpec;
- sub cmp_path { $_[0] cmp $_[1] }
+ sub cmp_path { $a cmp $b }
}
%pagesources=(