Skip to content

Commit

Permalink
feat: add object fraq command
Browse files Browse the repository at this point in the history
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
  • Loading branch information
rfyiamcool committed Dec 19, 2023
1 parent e8e0c6a commit 499bb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 499bb2d

Please sign in to comment.