mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-12-17 05:54:07 +08:00
* Fixed bug where memory compares were printing like strings.
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@19 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
@@ -346,12 +346,7 @@ void UnityAssertEqualMemory(void* expected,
|
||||
if (Unity.CurrentTestFailed)
|
||||
{
|
||||
UnityTestResultsBegin(lineNumber);
|
||||
UnityPrint("Expected '");
|
||||
UnityPrint(expected);
|
||||
UnityPrint("' was '");
|
||||
UnityPrint(actual);
|
||||
UnityPrintChar('\'');
|
||||
UnityPrintChar('.');
|
||||
UnityPrint("Memory Mismatch.");
|
||||
if (msg)
|
||||
{
|
||||
UnityPrintChar(' ');
|
||||
|
||||
Reference in New Issue
Block a user