Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-11-12 01:13:46 +0100
committerMartin Hořeňovský2021-11-14 11:27:43 +0100
commit9b4e69333f863dc31e124f658a3dedbe8d27632a (patch)
tree0c0145e76229592709c8e19dad616d603237cdbf /tests/SelfTest/UsageTests
parent4d9bfb2951769dc2ba200b99bcd3891d02a028bd (diff)
downloadcatch3-9b4e69333f863dc31e124f658a3dedbe8d27632a.tar.gz
Small cleanup in tests
Diffstat (limited to 'tests/SelfTest/UsageTests')
-rw-r--r--tests/SelfTest/UsageTests/Misc.tests.cpp2
1 files changed, 1 insertions, 1 deletions
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() );
}