mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-21 06:40:12 +08:00
corrected typos in hex printing and memory compare
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@18 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
@ -96,7 +96,7 @@ void UnityPrintNumberUnsigned(const unsigned long number)
|
|||||||
void UnityPrintNumberHex(const unsigned long number, const char nibbles_to_print)
|
void UnityPrintNumberHex(const unsigned long number, const char nibbles_to_print)
|
||||||
{
|
{
|
||||||
unsigned long nibble;
|
unsigned long nibble;
|
||||||
char nibbles;
|
char nibbles = nibbles_to_print;
|
||||||
UnityPrint("0x");
|
UnityPrint("0x");
|
||||||
|
|
||||||
while (nibbles > 0)
|
while (nibbles > 0)
|
||||||
@ -324,7 +324,6 @@ void UnityAssertEqualMemory(void* expected,
|
|||||||
const char* msg,
|
const char* msg,
|
||||||
unsigned short lineNumber)
|
unsigned short lineNumber)
|
||||||
{
|
{
|
||||||
unsigned int i;
|
|
||||||
if (length == 0)
|
if (length == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user