diff options
author | Simon McVittie <smcv@debian.org> | 2010-04-05 22:50:51 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2010-04-05 22:50:51 +0100 |
commit | cb8b2f80b2f8c91eba3f3a6a5b9913ab80326df8 (patch) | |
tree | 9e009b2f7ca8c34c59a1f5ecda786063227f0964 /t | |
parent | 490f95616a8a49f2120655d07c282eefd067e640 (diff) |
Use $a and $b for SortSpec cmp callbacks
Diffstat (limited to 't')
-rwxr-xr-x | t/pagespec_match_list.t | 2 |
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=( |