Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Commit f358850

Browse files
authored
Update Catch2 to v3.0.0-preview5. (#320)
1 parent 51d8973 commit f358850

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if(BUILD_BLS_TESTS)
3838
FetchContent_Declare(
3939
Catch2
4040
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
41-
GIT_TAG v2.13.7
41+
GIT_TAG v3.0.0-preview5
4242
)
4343
FetchContent_MakeAvailable(Catch2)
4444
add_executable(runtest test.cpp)

src/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
#define CATCH_CONFIG_RUNNER
17-
#include <catch2/catch.hpp>
16+
#include <catch2/catch_test_macros.hpp>
17+
#include <catch2/catch_session.hpp>
1818

1919
#include <thread>
2020

0 commit comments

Comments
 (0)