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 <[email protected]>
  • Loading branch information
rfyiamcool committed Dec 19, 2023
1 parent 74233a5 commit 03a7bc3
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 03a7bc3

Please sign in to comment.