提交 d88099d5 编写于 作者: M mvandervoord

* 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
上级 28dea1c3
...@@ -346,12 +346,7 @@ void UnityAssertEqualMemory(void* expected, ...@@ -346,12 +346,7 @@ void UnityAssertEqualMemory(void* expected,
if (Unity.CurrentTestFailed) if (Unity.CurrentTestFailed)
{ {
UnityTestResultsBegin(lineNumber); UnityTestResultsBegin(lineNumber);
UnityPrint("Expected '"); UnityPrint("Memory Mismatch.");
UnityPrint(expected);
UnityPrint("' was '");
UnityPrint(actual);
UnityPrintChar('\'');
UnityPrintChar('.');
if (msg) if (msg)
{ {
UnityPrintChar(' '); UnityPrintChar(' ');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册