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:
Jakob Holderbaum
2014-02-16 06:03:31 +01:00
parent a18b894618
commit 5fbc23e856
+1
View File
@@ -249,6 +249,7 @@ void UnityPrintOk(void)
//-----------------------------------------------
void UnityTestResultsBegin(const char* file, const UNITY_LINE_TYPE line)
{
UNITY_PRINT_EOL;
UnityPrint(file);
UNITY_OUTPUT_CHAR(':');
UnityPrintNumber(line);