提交 a94264b8 编写于 作者: Z Zane D. Purvis

Print newline after each test, but not before

This change makes parsing the results easier for tools like ceedling,
which was choking when a test used stdout and there wasn't an
EOL after "PASS" (ThrowTheSwitch/Ceedling#41).
上级 1a868f33
......@@ -273,7 +273,6 @@ void UnityPrintOk(void)
//-----------------------------------------------
void UnityTestResultsBegin(const char* file, const UNITY_LINE_TYPE line)
{
UNITY_PRINT_EOL;
UnityPrint(file);
UNITY_OUTPUT_CHAR(':');
UnityPrintNumber((_U_SINT)line);
......@@ -309,6 +308,7 @@ void UnityConcludeTest(void)
Unity.CurrentTestFailed = 0;
Unity.CurrentTestIgnored = 0;
UNITY_PRINT_EOL;
}
//-----------------------------------------------
......@@ -1164,5 +1164,3 @@ int UnityEnd(void)
}
//-----------------------------------------------
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册