Code

src/testing.h: Rewrite the EXPECT_EQ_UINT64() macro.
authorFlorian Forster <octo@collectd.org>
Fri, 21 Aug 2015 11:37:30 +0000 (13:37 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 21 Aug 2015 11:37:30 +0000 (13:37 +0200)
commit55d2ddae29c2ba150d5b1f97015cd9593e5f66c6
treea12cf6174187a218d2015f96232f97b42b4f7cb1
parent8eecec122510b686ec6d1279041e0794615084a5
src/testing.h: Rewrite the EXPECT_EQ_UINT64() macro.

Cast the input to uint64_t, so we don't need to do this when calling the
macro. This results in cleaner log messages and prevents macros to be
expanded in the log output.
src/daemon/utils_time_test.c
src/testing.h