Style fixes.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
e748f6e96f
commit
78268c51c0
|
@ -391,7 +391,8 @@ TEST_CASE("Add Volatile with return script function") {
|
||||||
|
|
||||||
script->OnSecondaryEffect(nullptr, mon, 0);
|
script->OnSecondaryEffect(nullptr, mon, 0);
|
||||||
|
|
||||||
auto scriptObjOption = const_cast<CreatureLib::Battling::ScriptAggregator&>(mon->GetScriptIterator()).GetNextNotNull();
|
auto scriptObjOption =
|
||||||
|
const_cast<CreatureLib::Battling::ScriptAggregator&>(mon->GetScriptIterator()).GetNextNotNull();
|
||||||
REQUIRE(scriptObjOption.has_value());
|
REQUIRE(scriptObjOption.has_value());
|
||||||
REQUIRE(scriptObjOption.value()->GetName() == "AddVolatileModSecondary"_cnc);
|
REQUIRE(scriptObjOption.value()->GetName() == "AddVolatileModSecondary"_cnc);
|
||||||
auto scriptObj = scriptObjOption.value();
|
auto scriptObj = scriptObjOption.value();
|
||||||
|
|
Loading…
Reference in New Issue