mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-30 11:44:27 +01:00
Print an EOL before printing the TestResult while executing the spec
By printing this newline, the filepath of the failing assertion does not get preceded by the dot which represents a running test. This gives the advantage, that the complete output of unity can be used as it is with a makefile in vim. Every error gets displayed in the quickfix and you can jump appropiately.
This commit is contained in:
@@ -249,6 +249,7 @@ 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(line);
|
UnityPrintNumber(line);
|
||||||
|
|||||||
Reference in New Issue
Block a user