From b121fb83994b48a67bd9ad44226a12cb2d4180dc Mon Sep 17 00:00:00 2001 From: oldme Date: Wed, 4 Sep 2024 15:13:35 +0800 Subject: [PATCH] up --- redis_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redis_test.go b/redis_test.go index 5b86de2a..89a1ad53 100644 --- a/redis_test.go +++ b/redis_test.go @@ -370,11 +370,11 @@ var _ = Describe("Client", func() { err := client.Set(ctx, "custom", val, 0).Err() Expect(err).NotTo(HaveOccurred()) - var val2 customString + var val2 string err = client.Get(ctx, "custom").Scan(&val2) Expect(err).NotTo(HaveOccurred()) - Expect(val2).To(Equal(val)) + Expect(customString(val2)).To(Equal(val)) }) })