Update to new version of Arbutils.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-04-09 18:19:21 +02:00
parent 70fc8d2d5f
commit 88eda6ef94
6 changed files with 32 additions and 27 deletions

View File

@@ -64,7 +64,7 @@ TEST_CASE("Add script to script set, then remove it", "[Battling, Scripting]") {
auto s = new TestScript("foobar");
set.Add(s);
REQUIRE(set.Count() == 1);
set.Remove("foobar"_cnc);
set.Remove("foobar"_cnc.GetHash());
REQUIRE(set.Count() == 0);
auto it = set.GetIterator();
REQUIRE(it->Count() == 0);
@@ -77,7 +77,7 @@ TEST_CASE("Add two scripts to script set, then remove them", "[Battling, Scripti
set.Add(s);
set.Add(s2);
REQUIRE(set.Count() == 2);
set.Remove("foobar"_cnc);
set.Remove("foobar"_cnc.GetHash());
REQUIRE(set.Count() == 1);
auto it = set.GetIterator();
REQUIRE(it->At(0)->GetName() == "foobar2");