catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fixed warning in 32 bit builds
- Commit
18553e09fdc42f4a5de80c0f63de4837595b0c20- Author
- Phil Nash ·
- Parents
7dfd830a3a27
Changes
Test/ConditionTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test/ConditionTests.cpp b/Test/ConditionTests.cpp index 96fcb1a7..a566cfd0 100644 --- a/Test/ConditionTests.cpp +++ b/Test/ConditionTests.cpp @@ -178,7 +178,7 @@ TEST_CASE( "./succeeding/conditions/int literals", "Comparisons with int literal REQUIRE( 5 == c ); REQUIRE( 6 == uc ); - REQUIRE( 62270208023445 > ul ); + REQUIRE( (std::numeric_limits<unsigned long>::max)() > ul ); } // Because we have to do some conversions when comparing certain signed/ unsigned types (to avoid