diff options
| author | Martin Hořeňovský | 2023-05-17 11:08:45 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-05-28 21:05:01 +0200 |
| commit | b3cf1bfb5d2476b1793c9ebc845803d60ce34171 (patch) | |
| tree | 8d2d2c5554e0ec0c5ac2d9523198e5269412f88a /tests/SelfTest | |
| parent | 73b93ce6bc1310f9e759f023da74805d311162e5 (diff) | |
| download | catch3-b3cf1bfb5d2476b1793c9ebc845803d60ce34171.tar.gz | |
Avoid unused variable warning in GeneratorsImpl tests
Diffstat (limited to 'tests/SelfTest')
| -rw-r--r-- | tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp | 1 |
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); } |