提交 975e222a 编写于 作者: @ @gageas

Move announceTestRun() after UnityBegin()

上级 1c5986bd
...@@ -40,8 +40,8 @@ int UnityMain(int argc, const char* argv[], void (*runAllTests)(void)) ...@@ -40,8 +40,8 @@ int UnityMain(int argc, const char* argv[], void (*runAllTests)(void))
for (r = 0; r < UnityFixture.RepeatCount; r++) for (r = 0; r < UnityFixture.RepeatCount; r++)
{ {
announceTestRun(r);
UnityBegin(argv[0]); UnityBegin(argv[0]);
announceTestRun(r);
runAllTests(); runAllTests();
UNITY_OUTPUT_CHAR('\n'); UNITY_OUTPUT_CHAR('\n');
UnityEnd(); UnityEnd();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册