From 5eb1d3380e4fb4b7957c4b7cbbbb1b680eb29c7f Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 21 Apr 2022 11:45:50 +0100 Subject: [PATCH] Update Catch2 to v3.0.0-preview5. --- src/CMakeLists.txt | 2 +- src/test.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 449164a67..3164f7f73 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -38,7 +38,7 @@ if(BUILD_BLS_TESTS) FetchContent_Declare( Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git - GIT_TAG v2.13.7 + GIT_TAG v3.0.0-preview5 ) FetchContent_MakeAvailable(Catch2) add_executable(runtest test.cpp) diff --git a/src/test.cpp b/src/test.cpp index 933a6a3a3..4c9828ca9 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -13,8 +13,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#define CATCH_CONFIG_RUNNER -#include +#include +#include #include