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

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-05-17 11:08:45 +0200
committerMartin Hořeňovský2023-05-28 21:05:01 +0200
commitb3cf1bfb5d2476b1793c9ebc845803d60ce34171 (patch)
tree8d2d2c5554e0ec0c5ac2d9523198e5269412f88a /tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp
parent73b93ce6bc1310f9e759f023da74805d311162e5 (diff)
downloadcatch3-b3cf1bfb5d2476b1793c9ebc845803d60ce34171.tar.gz
Avoid unused variable warning in GeneratorsImpl tests
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp')
-rw-r--r--tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp b/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp
index 64e943f8..f7b7c57c 100644
--- a/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp
+++ b/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp
@@ -412,6 +412,7 @@ TEST_CASE("GENERATE handles function (pointers)", "[generators][compilation][app
TEST_CASE("GENERATE decays arrays", "[generators][compilation][approvals]") {
auto str = GENERATE("abc", "def", "gh");
+ (void)str;
STATIC_REQUIRE(std::is_same<decltype(str), const char*>::value);
}