From ef39868b6bffa3030c7cbc083df1301849fba0f7 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sat, 16 Oct 2021 20:16:38 +0200 Subject: Add find_node query --- test/query.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/query.c') diff --git a/test/query.c b/test/query.c index cccb639..5744fba 100644 --- a/test/query.c +++ b/test/query.c @@ -114,8 +114,8 @@ void test_ping() { int rc = handle_request(&self, "ping", packet, packet_len, &response_cursor, response_end-response_cursor); TEST_ASSERT_EQUAL(0, rc); - TEST_ASSERT_EQUAL(30, response_cursor - response); - TEST_ASSERT_EQUAL_CHAR_ARRAY("d2:id20:aaaaaaaaaaaaaaaaaaabee", response, 30); + TEST_ASSERT_EQUAL(29, response_cursor - response); + TEST_ASSERT_EQUAL_CHAR_ARRAY("d2:id20:aaaaaaaaaaaaaaaaaaabe", response, 30); } void test_bad_method() { -- cgit v1.2.3