From 8b60d588b774c52ea68b553c3aff776fbd2f57b3 Mon Sep 17 00:00:00 2001 From: pajlada Date: Sun, 20 Nov 2022 18:18:38 +0100 Subject: [PATCH] Have `clang-format-all.sh` also reformat test files (#4171) --- tools/clang-format-all.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/clang-format-all.sh b/tools/clang-format-all.sh index bf684793..4cd30240 100755 --- a/tools/clang-format-all.sh +++ b/tools/clang-format-all.sh @@ -4,4 +4,5 @@ read -p "Are you sure you want to run clang-format on all files in src/? (y/n) " echo if [[ $REPLY =~ ^[Yy]$ ]]; then find src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \; + find tests/src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \; fi