diff --git a/test/integration/templates/using-adder/using-adder.cpp b/test/integration/templates/using-adder/using-adder.cpp index d06aac5..e8f836d 100644 --- a/test/integration/templates/using-adder/using-adder.cpp +++ b/test/integration/templates/using-adder/using-adder.cpp @@ -1,9 +1,8 @@ #include #include -int main() -{ - int sum = adder::add(5, 3); - std::printf("%d\n", sum); - return 0; +int main() { + int sum = adder::add(5, 3); + std::printf("%d\n", sum); + return 0; } diff --git a/test/style/CMakeLists.txt b/test/style/CMakeLists.txt index 2beb38b..72491e1 100644 --- a/test/style/CMakeLists.txt +++ b/test/style/CMakeLists.txt @@ -6,7 +6,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/../../cmake/CPM.cmake) CPMAddPackage( NAME Format.cmake - VERSION 1.6 + VERSION 1.7.3 GITHUB_REPOSITORY TheLartians/Format.cmake - OPTIONS "FORMAT_CHECK_CMAKE ON" + OPTIONS "CMAKE_FORMAT_EXCLUDE integration/templates" )