projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dbed6a
)
keywords: sort keywords alphabetically
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 30 Mar 2014 15:04:56 +0000
(17:04 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 30 Mar 2014 15:04:56 +0000
(17:04 +0200)
tests/keywords.pl
patch
|
blob
|
history
diff --git
a/tests/keywords.pl
b/tests/keywords.pl
index
5fecdfa
..
43f8e2b
100755
(executable)
--- a/
tests/keywords.pl
+++ b/
tests/keywords.pl
@@
-120,8
+120,8
@@
sub show {
return $ret;
}
-#
numerically on amount, or alphebetically if same amount
-my @mtest = reverse sort { $
k{$a} <=> $k{$b} || $
b cmp $a } keys %k;
+#
sort alphabetically
+my @mtest = reverse sort { $b cmp $a } keys %k;
print <<TOP
<table><tr><th>Num</th><th>Keyword</th><th>Test Cases</th></tr>