From c09f6c72e9db6d2941159f1aa8bc45733b8cc184 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 30 Mar 2014 17:04:56 +0200 Subject: keywords: sort keywords alphabetically --- tests/keywords.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 <NumKeywordTest Cases -- cgit v1.2.3