diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ce0a7b96729b4dffef54a11056247a7715b5ab54..b188c7e0cb4453d7ee74fd06cb173a2d8760e005 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -2,7 +2,7 @@ ci:
     autoupdate_branch: 'devel'
 repos:
 -   repo: https://github.com/pre-commit/mirrors-clang-format
-    rev: v13.0.1
+    rev: v14.0.1
     hooks:
     -   id: clang-format
         args: [-i, --style=Google]
diff --git a/tests/signal-ptr.cpp b/tests/signal-ptr.cpp
index 96d520fe72098dc61a94a4ddb047be98135f5ceb..39b324a05f9dc303636484fbf428ce84a690d323 100644
--- a/tests/signal-ptr.cpp
+++ b/tests/signal-ptr.cpp
@@ -45,11 +45,9 @@ class DummyClass {
     ++call;
     timedata = t;
 
-    BOOST_FOREACH (sigDouble_t *ptr, inputsig)
-      ptr->access(timedata);
+    BOOST_FOREACH (sigDouble_t *ptr, inputsig) ptr->access(timedata);
 
-    BOOST_FOREACH (sigString_t *ptr, inputsigV)
-      ptr->access(timedata);
+    BOOST_FOREACH (sigString_t *ptr, inputsigV) ptr->access(timedata);
 
     res = (*this)();
     return res;
diff --git a/tests/signal-time-dependent.cpp b/tests/signal-time-dependent.cpp
index 6a9ae001fd081048ead626a3cf48704cb05cc031..0cd4ead906412c1d1dbeb1d982603ea69ddbceb4 100644
--- a/tests/signal-time-dependent.cpp
+++ b/tests/signal-time-dependent.cpp
@@ -34,11 +34,9 @@ class DummyClass {
     ++call;
     timedata = t;
 
-    BOOST_FOREACH (sigDouble_t *ptr, inputsig)
-      ptr->access(timedata);
+    BOOST_FOREACH (sigDouble_t *ptr, inputsig) ptr->access(timedata);
 
-    BOOST_FOREACH (sigString_t *ptr, inputsigV)
-      ptr->access(timedata);
+    BOOST_FOREACH (sigString_t *ptr, inputsigV) ptr->access(timedata);
 
     res = (*this)();
     return res;