Update to latest Arbutils.
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
2020-12-13 12:15:40 +01:00
parent 2055837980
commit e642f374b9
25 changed files with 69 additions and 120 deletions

View File

@@ -49,8 +49,7 @@ TEST_CASE("Script source with script ptr being set.") {
auto source = ScriptSourceWithScriptPtr();
source.ScriptPtr = std::make_unique<TestScript>("foobar");
auto scripts = source.GetScriptIterator();
auto first = scripts.GetNext();
CHECK(first != nullptr);
[[maybe_unused]] auto first = scripts.GetNext();
}
TEST_CASE("Script source with script ptr being set after first iteration.") {
@@ -59,8 +58,7 @@ TEST_CASE("Script source with script ptr being set after first iteration.") {
REQUIRE_FALSE(scripts.HasNext());
source.ScriptPtr = std::make_unique<TestScript>("foobar");
scripts = source.GetScriptIterator();
auto first = scripts.GetNext();
CHECK(first != nullptr);
[[maybe_unused]] auto first = scripts.GetNext();
}
TEST_CASE("Script source with empty script set.") {