mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Fixed sign conversion warnings in Generators.tests
This commit is contained in:
parent
e3b8457b17
commit
382ba723b6
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user