Skip to content

Commit 337d0ba

Browse files
authored
Merge pull request #1702 from joto/update-catch
Update to current Catch2 version 2.13.9
2 parents 6ddd4d8 + cbffae1 commit 337d0ba

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

contrib/catch2/README.contrib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Source: https://github.com/catchorg/Catch2
2-
Revision: v2.13.8
2+
Revision: v2.13.9

contrib/catch2/include/catch.hpp

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Catch v2.13.8
3-
* Generated: 2022-01-03 21:20:09.589503
2+
* Catch v2.13.9
3+
* Generated: 2022-04-12 22:37:23.260201
44
* ----------------------------------------------------------
55
* This file has been merged from multiple headers. Please don't edit it directly
66
* Copyright (c) 2022 Two Blue Cubes Ltd. All rights reserved.
@@ -15,7 +15,7 @@
1515

1616
#define CATCH_VERSION_MAJOR 2
1717
#define CATCH_VERSION_MINOR 13
18-
#define CATCH_VERSION_PATCH 8
18+
#define CATCH_VERSION_PATCH 9
1919

2020
#ifdef __clang__
2121
# pragma clang system_header
@@ -13392,6 +13392,10 @@ namespace Catch {
1339213392
filename.erase(0, lastSlash);
1339313393
filename[0] = '#';
1339413394
}
13395+
else
13396+
{
13397+
filename.insert(0, "#");
13398+
}
1339513399

1339613400
auto lastDot = filename.find_last_of('.');
1339713401
if (lastDot != std::string::npos) {
@@ -15387,7 +15391,7 @@ namespace Catch {
1538715391
}
1538815392

1538915393
Version const& libraryVersion() {
15390-
static Version version( 2, 13, 8, "", 0 );
15394+
static Version version( 2, 13, 9, "", 0 );
1539115395
return version;
1539215396
}
1539315397

@@ -17890,7 +17894,7 @@ using Catch::Detail::Approx;
1789017894
#define INFO( msg ) (void)(0)
1789117895
#define UNSCOPED_INFO( msg ) (void)(0)
1789217896
#define WARN( msg ) (void)(0)
17893-
#define CAPTURE( msg ) (void)(0)
17897+
#define CAPTURE( ... ) (void)(0)
1789417898

1789517899
#define TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( C_A_T_C_H_T_E_S_T_ ))
1789617900
#define TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( C_A_T_C_H_T_E_S_T_ ))

0 commit comments

Comments
 (0)