From 7ab6b824c771df8298cbe1b512a80116d005ec33 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Sat, 16 Mar 2024 09:20:31 +0800 Subject: fix: typos Signed-off-by: guoguangwu --- test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test.c') diff --git a/test.c b/test.c index d9696f1..8b8ea93 100644 --- a/test.c +++ b/test.c @@ -156,7 +156,7 @@ static redisContext *select_database(redisContext *c) { assert(reply != NULL); freeReplyObject(reply); - /* Make sure the DB is emtpy */ + /* Make sure the DB is empty */ reply = redisCommand(c,"DBSIZE"); assert(reply != NULL); if (reply->type == REDIS_REPLY_INTEGER && reply->integer == 0) { @@ -2298,7 +2298,7 @@ static void test_async_polling(struct config config) { */ test("Ping/Pong from onConnected callback (Issue #931): "); c = do_aconnect(config, ASTEST_ISSUE_931_PING); - /* connect callback issues ping, reponse callback destroys context */ + /* connect callback issues ping, response callback destroys context */ while(astest.ac) redisPollTick(c, 0.1); assert(astest.connected == 0); -- cgit v1.2.3