From 499bb2df356a734d6b7b6dd6e95705cbb92218cc Mon Sep 17 00:00:00 2001 From: rfyiamcool Date: Tue, 19 Dec 2023 23:48:34 +0800 Subject: [PATCH] feat: add object fraq command Signed-off-by: rfyiamcool --- commands_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands_test.go b/commands_test.go index 95e379274a..f5cc04ff87 100644 --- a/commands_test.go +++ b/commands_test.go @@ -676,7 +676,7 @@ var _ = Describe("Commands", func() { Expect(refCount.Val()).To(Equal(int64(1))) freq := client.ObjectFreq(ctx, "key") - Expect(freq.Err()).To(MatchError("LFU maxmemory policy is not selected")) + Expect(freq.Err()).To(MatchError(ContainSubstring("LFU maxmemory policy is not selected"))) err := client.ObjectEncoding(ctx, "key").Err() Expect(err).NotTo(HaveOccurred())