mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-08-06 13:50:49 +08:00
Merge pull request #92 from zanedp/master
Print newline after each test, but not before (Thanks Zane)
This commit is contained in:
@ -273,7 +273,6 @@ void UnityPrintOk(void)
|
|||||||
//-----------------------------------------------
|
//-----------------------------------------------
|
||||||
void UnityTestResultsBegin(const char* file, const UNITY_LINE_TYPE line)
|
void UnityTestResultsBegin(const char* file, const UNITY_LINE_TYPE line)
|
||||||
{
|
{
|
||||||
UNITY_PRINT_EOL;
|
|
||||||
UnityPrint(file);
|
UnityPrint(file);
|
||||||
UNITY_OUTPUT_CHAR(':');
|
UNITY_OUTPUT_CHAR(':');
|
||||||
UnityPrintNumber((_U_SINT)line);
|
UnityPrintNumber((_U_SINT)line);
|
||||||
@ -309,6 +308,7 @@ void UnityConcludeTest(void)
|
|||||||
|
|
||||||
Unity.CurrentTestFailed = 0;
|
Unity.CurrentTestFailed = 0;
|
||||||
Unity.CurrentTestIgnored = 0;
|
Unity.CurrentTestIgnored = 0;
|
||||||
|
UNITY_PRINT_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------
|
//-----------------------------------------------
|
||||||
@ -1164,5 +1164,3 @@ int UnityEnd(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------
|
//-----------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user