changeset 46477:9fd4f7af42ea

clang-format: show required version in skip message This will help people to configure their black Differential Revision: https://phab.mercurial-scm.org/D9890
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 27 Jan 2021 15:06:02 +0100
parents a390c7fcd286
children 95054317e172
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave.py	Wed Jan 27 15:04:48 2021 +0100
+++ b/tests/hghave.py	Wed Jan 27 15:06:02 2021 +0100
@@ -591,7 +591,7 @@
     return matchoutput("pylint --help", br"Usage:[ ]+pylint", True)
 
 
-@check("clang-format", "clang-format C code formatter")
+@check("clang-format", "clang-format C code formatter (>= 11)")
 def has_clang_format():
     m = matchoutput('clang-format --version', br'clang-format version (\d+)')
     # style changed somewhere between 10.x and 11.x