aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-03-30 17:04:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-03-30 17:04:56 +0200
commitc09f6c72e9db6d2941159f1aa8bc45733b8cc184 (patch)
treed5c0e143deba31e3ac330ce21fa224c6d2ffa259 /tests
parent7dbed6a2f5ea3f9ed43cd19a711b89867343af1d (diff)
keywords: sort keywords alphabetically
Diffstat (limited to 'tests')
-rwxr-xr-xtests/keywords.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/keywords.pl b/tests/keywords.pl
index 5fecdfa39..43f8e2b9b 100755
--- 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>