summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_assert.h b/tests/test_assert.h
index b2d0562f..353e3cee 100644
--- a/tests/test_assert.h
+++ b/tests/test_assert.h
@@ -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__, "")