Fixed broken test.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fddf2cabab
commit
fc74a7d4bd
|
@ -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]") {
|
||||||
|
|
Loading…
Reference in New Issue