mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Avoid unused variable warning in GeneratorsImpl tests
This commit is contained in:
parent
73b93ce6bc
commit
b3cf1bfb5d
@ -412,6 +412,7 @@ TEST_CASE("GENERATE handles function (pointers)", "[generators][compilation][app
|
|||||||
|
|
||||||
TEST_CASE("GENERATE decays arrays", "[generators][compilation][approvals]") {
|
TEST_CASE("GENERATE decays arrays", "[generators][compilation][approvals]") {
|
||||||
auto str = GENERATE("abc", "def", "gh");
|
auto str = GENERATE("abc", "def", "gh");
|
||||||
|
(void)str;
|
||||||
STATIC_REQUIRE(std::is_same<decltype(str), const char*>::value);
|
STATIC_REQUIRE(std::is_same<decltype(str), const char*>::value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user