From 97f6d5525654ecddd97c12f1881ac17c4db39ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alari=20=C3=95is?= Date: Mon, 4 May 2020 08:20:19 +0300 Subject: [PATCH] c99 support for new RUN_TEST macro --- src/unity_internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unity_internals.h b/src/unity_internals.h index 3ba153b..705c612 100644 --- a/src/unity_internals.h +++ b/src/unity_internals.h @@ -701,7 +701,7 @@ extern const char UnityStrErrShorthand[]; #endif #endif #ifdef UNITY_SUPPORT_VARIADIC_MACROS -#define RUN_TEST(...) RUN_TEST_AT_LINE(__VA_ARGS__, __LINE__) +#define RUN_TEST(...) RUN_TEST_AT_LINE(__VA_ARGS__, __LINE__, throwaway) #define RUN_TEST_AT_LINE(func, line, ...) UnityDefaultTestRun(func, #func, line) #endif #endif