tests/hghave.py
changeset 45172 04c428e93770
parent 45083 3a6ec080b521
child 45184 3781e9f74b27
--- a/tests/hghave.py	Tue Jul 14 13:36:57 2020 -0700
+++ b/tests/hghave.py	Mon Jul 20 17:38:01 2020 +0200
@@ -591,7 +591,7 @@
 
 @check("clang-format", "clang-format C code formatter")
 def has_clang_format():
-    m = matchoutput('clang-format --version', br'clang-format version (\d)')
+    m = matchoutput('clang-format --version', br'clang-format version (\d*)')
     # style changed somewhere between 4.x and 6.x
     return m and int(m.group(1)) >= 6