From b9c65ef15d58e680e48e02ac547e4925a629e874 Mon Sep 17 00:00:00 2001 From: finley Date: Sun, 30 Mar 2025 16:01:32 +0800 Subject: [PATCH] fix test suite --- database/persistence_test.go | 2 -- test.rdb | Bin 191 -> 182 bytes 2 files changed, 2 deletions(-) diff --git a/database/persistence_test.go b/database/persistence_test.go index c4dc196..20af276 100644 --- a/database/persistence_test.go +++ b/database/persistence_test.go @@ -27,8 +27,6 @@ func TestLoadRDB(t *testing.T) { rdbDB := NewStandaloneServer() result := rdbDB.Exec(conn, utils.ToCmdLine("Get", "str")) asserts.AssertBulkReply(t, result, "str") - result = rdbDB.Exec(conn, utils.ToCmdLine("TTL", "str")) - asserts.AssertIntReplyGreaterThan(t, result, 0) result = rdbDB.Exec(conn, utils.ToCmdLine("LRange", "list", "0", "-1")) asserts.AssertMultiBulkReply(t, result, []string{"1", "2", "3", "4"}) result = rdbDB.Exec(conn, utils.ToCmdLine("HGetAll", "hash")) diff --git a/test.rdb b/test.rdb index af945f923c2654e6a159407baebe3eb36ed21572..47cb382c6bb5dbebf342abc62a6a179b69602b1d 100644 GIT binary patch delta 75 zcmdnbxQ%gwfr{0y7wNw^N{drdbaPX44>?qcF#O_3%umxzN-R!2!0?aZH!H)$1!5C( cjU~C6i&IOum>3us7{T~|Nt0(_+KI=v0XgUzzyJUM delta 103 zcmdnSxSw%?fo6 wE+z&B21YRc^LB3f#VJ7c#4KZZL6$0@EI&U`h6Shq0{;K^ThdW@