Fixed memory leak in unit tests
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
6c7c460640
commit
d3b0fc1cec
|
@ -13,5 +13,7 @@ TEST_CASE("Basic Experience gain test", "battling") {
|
|||
auto expLib = lib->GetExperienceLibrary();
|
||||
expLib->HandleExperienceGain(mon2, {mon1});
|
||||
REQUIRE(mon1->GetExperience() - initialExp == 4339);
|
||||
delete mon1;
|
||||
delete mon2;
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue