Skip to content

Commit f4e2d2a

Browse files
test two
1 parent bc51214 commit f4e2d2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/logic/fossil/pizza/test.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,9 @@ void _on_skip(const char *description);
550550
#define _FOSSIL_TEST_ASSUME_MESSAGE(message, ...) \
551551
pizza_test_assert_messagef((message) __VA_OPT__(, __VA_ARGS__))
552552
#else
553-
// C11 and earlier: use GCC/Clang extension for ##__VA_ARGS__
554-
#define _FOSSIL_TEST_ASSUME_MESSAGE(message, ...) \
555-
pizza_test_assert_messagef((message), ##__VA_ARGS__)
553+
// Portable workaround: always require at least one argument after 'message'
554+
#define _FOSSIL_TEST_ASSUME_MESSAGE(...) \
555+
pizza_test_assert_messagef(__VA_ARGS__)
556556
#endif
557557

558558
/**

0 commit comments

Comments
 (0)