Description
There is an issue with using TEST_ASSERT_EQUAL_UINT8_ARRAY since it will internally attempt to print the mismatching values as shown
|
UnityTestResultsFailBegin(lineNumber); |
|
UnityPrint(UnityStrElement); |
|
UnityPrintNumberUnsigned(num_elements - elements - 1); |
|
UnityPrint(UnityStrExpected); |
|
UnityPrintIntNumberByStyle(expect_val, style); |
|
UnityPrint(UnityStrWas); |
|
UnityPrintIntNumberByStyle(actual_val, style); |
|
UnityAddMsgIfSpecified(msg); |
however that call should depend on whether its a uint or int similar to what was done here #784
Description
There is an issue with using
TEST_ASSERT_EQUAL_UINT8_ARRAYsince it will internally attempt to print the mismatching values as shownUnity/src/unity.c
Lines 958 to 965 in 0d7ea70
however that call should depend on whether its a uint or int similar to what was done here #784