wrap multiple statements in do {} while(!IsConstTrue(true)) (#5655)
This commit is contained in:
parent
f9724d1bde
commit
030fee36ab
|
@ -13,7 +13,7 @@
|
|||
#define FLATBUFFERS_NO_FILE_TESTS
|
||||
#else
|
||||
#define TEST_OUTPUT_LINE(...) \
|
||||
{ printf(__VA_ARGS__); printf("\n"); }
|
||||
do { printf(__VA_ARGS__); printf("\n"); } while(!IsConstTrue(true))
|
||||
#endif
|
||||
|
||||
#define TEST_EQ(exp, val) TestEq(exp, val, "'" #exp "' != '" #val "'", __FILE__, __LINE__, "")
|
||||
|
|
Loading…
Reference in New Issue