Fixed broken test.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-06-05 18:10:58 +02:00
parent fddf2cabab
commit fc74a7d4bd
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 2 deletions

View File

@ -44,8 +44,7 @@ protected:
TEST_CASE("Script source with unset script ptr.", "[Battling, Scripting]") { TEST_CASE("Script source with unset script ptr.", "[Battling, Scripting]") {
auto source = ScriptSourceWithScriptPtr(); auto source = ScriptSourceWithScriptPtr();
auto scripts = source.GetScriptIterator(); auto scripts = source.GetScriptIterator();
auto first = scripts.GetNext(); REQUIRE_FALSE(scripts.HasNext());
CHECK(first == nullptr);
} }
TEST_CASE("Script source with script ptr being set.", "[Battling, Scripting]") { TEST_CASE("Script source with script ptr being set.", "[Battling, Scripting]") {