changeset 22762:05b3238ba901

tests: make hghave list features alphabetically
author Yuya Nishihara <yuya@tcha.org>
date Sat, 04 Oct 2014 17:22:22 +0900
parents d3068f7056cd
children 7ebf91426f6a
files tests/hghave
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave	Fri Oct 03 12:54:56 2014 -0500
+++ b/tests/hghave	Sat Oct 04 17:22:22 2014 +0900
@@ -10,7 +10,7 @@
 checks = hghave.checks
 
 def list_features():
-    for name, feature in checks.iteritems():
+    for name, feature in sorted(checks.iteritems()):
         desc = feature[1]
         print name + ':', desc