1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-29 19:24:27 +01:00

Merge pull request #98 from gageas/moveAnnounceTestRun

Move announceTestRun() after UnityBegin()
This commit is contained in:
Mark VanderVoord
2015-02-02 10:55:48 -05:00

View File

@@ -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();