parent
3a2c9f4c61
commit
3e81784f6f
tests/BattleTests/ScriptTests
|
@ -82,6 +82,7 @@ TEST_CASE( "Add two scripts to script set, then remove them", "[Battling, Script
|
|||
auto it = set.GetIterator();
|
||||
REQUIRE(it->at(0)->GetName() == "foobar2");
|
||||
delete s;
|
||||
delete s2;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -97,6 +97,7 @@ TEST_CASE( "Script source with multiple item script set.", "[Battling, Scripting
|
|||
CHECK(second != nullptr);
|
||||
CHECK (second->GetName() == "foobar2");
|
||||
delete s;
|
||||
delete s2;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue