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

fixed compile error UNITY_PRINT_EXEC_TIME()

This commit is contained in:
Levin Messing
2018-10-18 23:55:38 +02:00
committed by GitHub
parent e025b8cd1d
commit 7cc3cf478b

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