Fixed sign conversion warnings in Generators.tests

This commit is contained in:
wmbat 2023-12-05 20:18:53 -05:00
parent e3b8457b17
commit 382ba723b6

View File

@ -26,7 +26,7 @@ TEST_CASE("Generators -- simple", "[generators]") {
SECTION("two") {
// You can also explicitly set type for generators via Catch::Generators::as
auto str = GENERATE(as<std::string>{}, "a", "bb", "ccc");
REQUIRE(4u * i > str.size());
REQUIRE(4u * static_cast<unsigned int>(i) > str.size());
}
}