Make iterator in test use size_t instead of int
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f33d96d922
commit
72df9ba01a
|
@ -235,7 +235,7 @@ TEST_CASE("Validate Pokemon GetTypes in Script") {
|
|||
.WithForme("default")
|
||||
->WithGender(CreatureLib::Library::Gender::Male)
|
||||
->Build();
|
||||
for (auto i = 0; i < mon->GetTypes().size(); i++){
|
||||
for (size_t i = 0; i < mon->GetTypes().size(); i++){
|
||||
auto data = GetScript(mainLib, "testType");
|
||||
|
||||
data.Context->SetArgObject(0, const_cast<PkmnLib::Battling::Pokemon*>(mon));
|
||||
|
|
Loading…
Reference in New Issue