Progmasoft Git

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

Small cleanup in tests

Commit
9b4e69333f863dc31e124f658a3dedbe8d27632a
Author
Martin Hořeňovský ·
Parents
4d9bfb295176

Files · Download .tar.gz

Changes

 tests/SelfTest/UsageTests/Misc.tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/SelfTest/UsageTests/Misc.tests.cpp b/tests/SelfTest/UsageTests/Misc.tests.cpp
index 907cf890..464eb87c 100644
--- a/tests/SelfTest/UsageTests/Misc.tests.cpp
+++ b/tests/SelfTest/UsageTests/Misc.tests.cpp
@@ -472,7 +472,7 @@ TEST_CASE( "toString on wchar_t returns the string contents", "[toString]" ) {
 #endif // CATCH_CONFIG_WCHAR
 
 TEST_CASE( "long long" ) {
-    long long l = std::numeric_limits<long long>::max();
+    constexpr long long l = std::numeric_limits<long long>::max();
 
     REQUIRE( l == std::numeric_limits<long long>::max() );
 }