Merge remote-tracking branch 'gudnimg/fix-test-compiler-warning' into MMU_tests_1

pull/338/head
3d-gussner 2024-12-23 17:59:42 +01:00
commit 4d51271a56
1 changed files with 2 additions and 2 deletions

View File

@ -181,10 +181,10 @@ void SimulateErrDisengagingIdler(logic::CommandBase &cb, ErrorCode deferredEC) {
REQUIRE(WhileCondition(
cb, [&](uint32_t) {
if (cb.TopLevelState() == ProgressCode::ERRDisengagingIdler) {
REQUIRE(cb.Error() == ErrorCode::RUNNING); // ensure the error gets never set while disengaging the idler
REQUIRE((cb.Error() == ErrorCode::RUNNING)); // ensure the error gets never set while disengaging the idler
return true;
} else {
REQUIRE(cb.Error() == deferredEC);
REQUIRE((cb.Error() == deferredEC));
return false;
}
},