This commit is contained in:
oldme 2024-09-04 15:13:35 +08:00
parent 69005e6c3f
commit b121fb8399
1 changed files with 2 additions and 2 deletions

View File

@ -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))
})
})