# HG changeset patch # User Augie Fackler # Date 2018-10-12 10:39:32 # Node ID 9f0ee4a60d6588d3085cd63c47aac8aa900b3acf # Parent 80a4c60513bc2d93f6c054a2ddb9b1ccf942f454 tests: ensure the python 3 passing test list stays sorted Differential Revision: https://phab.mercurial-scm.org/D4984 diff --git a/tests/test-check-code.t b/tests/test-check-code.t --- a/tests/test-check-code.t +++ b/tests/test-check-code.t @@ -63,3 +63,7 @@ Prevent adding modules which could be sh > mercurial/parsers.py \ > mercurial/zstd.py [1] + +Keep python3 tests sorted: + $ sort < contrib/python3-whitelist > $TESTTMP/py3sorted + $ cmp contrib/python3-whitelist $TESTTMP/py3sorted || echo 'Please sort passing tests!'