diff options
| author | Jesper Jensen <jesper@slashwin.dk> | 2021-10-16 20:16:38 +0200 |
|---|---|---|
| committer | Jesper Jensen <jesper@slashwin.dk> | 2021-10-16 20:16:38 +0200 |
| commit | ef39868b6bffa3030c7cbc083df1301849fba0f7 (patch) | |
| tree | de9e20f8edd096a44448af17cde5552c904c52bf /test/query.c | |
| parent | 2d8a92e57d68325994ac402d25b0b140a1534467 (diff) | |
Add find_node query
Diffstat (limited to 'test/query.c')
| -rw-r--r-- | test/query.c | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |
