diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-02-24 10:05:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-24 10:05:34 -0500 |
commit | af60e7566eaad9124eab5aa5476ed945fcd0e707 (patch) | |
tree | 970b264bc5a0210067861af51f593834ca4fa9d4 /src/test/test.h | |
parent | d74a78c58aa5483f6586f80a746422cd2798c000 (diff) | |
download | tor-af60e7566eaad9124eab5aa5476ed945fcd0e707.tar.gz tor-af60e7566eaad9124eab5aa5476ed945fcd0e707.zip |
Update test_status.c to accommodate changes in heartbeat messages
Fixes #15012; bug not in any released Tor
Diffstat (limited to 'src/test/test.h')
-rw-r--r-- | src/test/test.h | 2 |
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 |