diff --git a/src/unit-test-coverage/shared/src/coveragetest-idmap.c b/src/unit-test-coverage/shared/src/coveragetest-idmap.c index 83b09e5f8..78a829ad6 100644 --- a/src/unit-test-coverage/shared/src/coveragetest-idmap.c +++ b/src/unit-test-coverage/shared/src/coveragetest-idmap.c @@ -1112,9 +1112,9 @@ void Test_OS_ObjectIDInteger(void) UtAssert_True(OS_ObjectIdEqual(typesI[i], typesJ[j]), "%lu equals %lu", OS_ObjectIdToInteger(typesI[i]), OS_ObjectIdToInteger(typesJ[j])); } - else + else if (OS_ObjectIdEqual(typesI[i], typesJ[j])) { - UtAssert_True(!OS_ObjectIdEqual(typesI[i], typesJ[j]), "%lu does not equal %lu", + UtAssert_Failed("%lu does not equal %lu", OS_ObjectIdToInteger(typesI[i]), OS_ObjectIdToInteger(typesJ[j])); } }