From: Daniel Stenberg Date: Sun, 30 Mar 2014 15:04:56 +0000 (+0200) Subject: keywords: sort keywords alphabetically X-Git-Tag: curl-7_37_0~223 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c09f6c72e9db6d2941159f1aa8bc45733b8cc184;p=thirdparty%2Fcurl.git keywords: sort keywords alphabetically --- diff --git a/tests/keywords.pl b/tests/keywords.pl index 5fecdfa390..43f8e2b9bc 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 <NumKeywordTest Cases