Skip to content

Commit

Permalink
Merge pull request #428 from yammajamma/fix-425-Tautological-Assertio…
Browse files Browse the repository at this point in the history
…n-Fix

Fix #425, Correct Test_OS_ConvertToArrayIndex assertion typo
  • Loading branch information
astrogeco authored Apr 28, 2020
2 parents 1b36816 + eb0230f commit f31e2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unit-test-coverage/shared/src/coveragetest-idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ void Test_OS_ConvertToArrayIndex(void)
Osapi_Call_ObjectIdFindNext(OS_OBJECT_TYPE_OS_TASK, &local_idx1, &rptr);
actual = OS_ConvertToArrayIndex(rptr->active_id, &local_idx2);
UtAssert_True(actual == expected, "OS_ConvertToArrayIndex() (%ld) == OS_SUCCESS", (long)actual);
UtAssert_True(local_idx1 == local_idx1, "local_idx1 (%lu) == local_idx2 (%lu)",
UtAssert_True(local_idx1 == local_idx2, "local_idx1 (%lu) == local_idx2 (%lu)",
(unsigned long)local_idx1, (unsigned long)local_idx2);

expected = OS_ERR_INCORRECT_OBJ_TYPE;
Expand Down

0 comments on commit f31e2d9

Please sign in to comment.