diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-03-30 17:04:56 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-03-30 17:04:56 +0200 |
commit | c09f6c72e9db6d2941159f1aa8bc45733b8cc184 (patch) | |
tree | d5c0e143deba31e3ac330ce21fa224c6d2ffa259 /tests/keywords.pl | |
parent | 7dbed6a2f5ea3f9ed43cd19a711b89867343af1d (diff) | |
download | curl-c09f6c72e9db6d2941159f1aa8bc45733b8cc184.tar.gz |
keywords: sort keywords alphabetically
Diffstat (limited to 'tests/keywords.pl')
-rwxr-xr-x | tests/keywords.pl | 4 |
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> |