We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690b4ba commit debfe5fCopy full SHA for debfe5f
code/logic/fossil/pizza/test.h
@@ -552,9 +552,14 @@ void _on_skip(const char *description);
552
#define _FOSSIL_TEST_ASSUME_MESSAGE(message, ...) \
553
pizza_test_assert_messagef((message) __VA_OPT__(, __VA_ARGS__))
554
#else
555
+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201710L
556
+#define _FOSSIL_TEST_ASSUME_MESSAGE(message, ...) \
557
+ pizza_test_assert_messagef((message) __VA_OPT__(, __VA_ARGS__))
558
+#else
559
560
pizza_test_assert_messagef((message), ##__VA_ARGS__)
561
#endif
562
+#endif
563
564
/**
565
* @brief Macro for defining a Given step in a behavior-driven development test.
0 commit comments