summaryrefslogtreecommitdiff
path: root/test/query.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/query.c')
-rw-r--r--test/query.c4
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() {