Skip to content

Commit 09075ea

Browse files
authored
Merge pull request #692 from epsilonrt/master
fix: fixes TEST_PRINTF() expansion error #691
2 parents f9c4038 + 7a9e25b commit 09075ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unity.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void verifyTest(void);
105105
#define TEST_MESSAGE(message) UnityMessage((message), __LINE__)
106106
#define TEST_ONLY()
107107
#ifdef UNITY_INCLUDE_PRINT_FORMATTED
108-
#define TEST_PRINTF(message, ...) UnityPrintF(__LINE__, (message), __VA_ARGS__)
108+
#define TEST_PRINTF(message, ...) UnityPrintF(__LINE__, (message), ##__VA_ARGS__)
109109
#endif
110110

111111
/* It is not necessary for you to call PASS. A PASS condition is assumed if nothing fails.

0 commit comments

Comments
 (0)