From: Tomek Mrugalski Date: Sun, 14 Jun 2015 22:49:59 +0000 (+0200) Subject: used TEST_ASSERT_NULL instead of ASSERT_TRUE(ptr == NULL) in test/libntp/recvbuff.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbd6cf8956de1a46ed985b4ec9cd47a2b0b22758;p=thirdparty%2Fntp.git used TEST_ASSERT_NULL instead of ASSERT_TRUE(ptr == NULL) in test/libntp/recvbuff.c bk: 557e0517lioVNhHG0Cni_yzeLXQUeA --- diff --git a/tests/libntp/recvbuff.c b/tests/libntp/recvbuff.c index b4bbe2f79..b76ba866b 100644 --- a/tests/libntp/recvbuff.c +++ b/tests/libntp/recvbuff.c @@ -17,7 +17,7 @@ test_Initialization(void) { TEST_ASSERT_EQUAL_UINT(RECV_INIT, free_recvbuffs()); TEST_ASSERT_EQUAL_UINT(0, full_recvbuffs()); TEST_ASSERT_FALSE(has_full_recv_buffer()); - TEST_ASSERT_TRUE(get_full_recv_buffer() == NULL); + TEST_ASSERT_NULL(get_full_recv_buffer()); } void