1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 08:25:58 +01:00

Merge pull request #362 from meslem12/patch-1

fixed compile error UNITY_PRINT_EXEC_TIME(). Thanks @meslem12 !
This commit is contained in:
Mark VanderVoord
2018-10-18 22:58:40 -04:00
committed by GitHub

View File

@@ -323,7 +323,7 @@ typedef UNITY_FLOAT_TYPE UNITY_FLOAT;
#ifdef UNITY_INCLUDE_EXEC_TIME
#define UNITY_PRINT_EXEC_TIME() \
UnityPrint(" (");\
UNITY_COUNTER_TYPE execTimeMs = (Unity.CurrentTestStopTime - Unity.CurrentTestStartTime);
UNITY_COUNTER_TYPE execTimeMs = (Unity.CurrentTestStopTime - Unity.CurrentTestStartTime);\
UnityPrintNumberUnsigned(execTimeMs);\
UnityPrint(" ms)");
#else