summaryrefslogtreecommitdiff
path: root/src/test/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test.h')
-rw-r--r--src/test/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test.h b/src/test/test.h
index b8057c59bf..b0c0946ac4 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -37,7 +37,7 @@
#define test_memeq_hex(expr1, hex) test_mem_op_hex(expr1, OP_EQ, hex)
#define tt_double_op(a,op,b) \
- tt_assert_test_type(a,b,#a" "#op" "#b,double,(val1_ op val2_),"%f", \
+ tt_assert_test_type(a,b,#a" "#op" "#b,double,(val1_ op val2_),"%g", \
TT_EXIT_TEST_FUNCTION)
#ifdef _MSC_VER