Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
oldme-git committed Sep 4, 2024
1 parent 69005e6 commit b121fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
})
})

Expand Down

0 comments on commit b121fb8

Please sign in to comment.