mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Merge pull request #692 from epsilonrt/master
fix: fixes TEST_PRINTF() expansion error #691
This commit is contained in:
@@ -105,7 +105,7 @@ void verifyTest(void);
|
|||||||
#define TEST_MESSAGE(message) UnityMessage((message), __LINE__)
|
#define TEST_MESSAGE(message) UnityMessage((message), __LINE__)
|
||||||
#define TEST_ONLY()
|
#define TEST_ONLY()
|
||||||
#ifdef UNITY_INCLUDE_PRINT_FORMATTED
|
#ifdef UNITY_INCLUDE_PRINT_FORMATTED
|
||||||
#define TEST_PRINTF(message, ...) UnityPrintF(__LINE__, (message), __VA_ARGS__)
|
#define TEST_PRINTF(message, ...) UnityPrintF(__LINE__, (message), ##__VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* It is not necessary for you to call PASS. A PASS condition is assumed if nothing fails.
|
/* It is not necessary for you to call PASS. A PASS condition is assumed if nothing fails.
|
||||||
|
|||||||
Reference in New Issue
Block a user