aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-03-30 17:09:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-03-30 17:09:11 +0200
commit8fdb87d0dfa6c23e4bdaf739db91059c5f14d2a0 (patch)
tree7b1d7c81407003c5a17ae572b1940355111b3159
parentc38b573ff564fa6684fe40145fdc6dcda4cea15c (diff)
keywords: sort case insensitive
-rwxr-xr-xtests/keywords.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/keywords.pl b/tests/keywords.pl
index 43f8e2b9b..c61df774c 100755
--- a/tests/keywords.pl
+++ b/tests/keywords.pl
@@ -121,7 +121,7 @@ sub show {
}
# sort alphabetically
-my @mtest = reverse sort { $b cmp $a } keys %k;
+my @mtest = reverse sort { lc($b) cmp lc($a) } keys %k;
print <<TOP
<table><tr><th>Num</th><th>Keyword</th><th>Test Cases</th></tr>