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…
x
Reference in New Issue
Block a user