1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00

chore: fix some comments (#2967)

Signed-off-by: kindknow <iturf@sina.com>
Co-authored-by: Monkey <golang@88.com>
This commit is contained in:
kindknow
2024-04-14 01:15:23 +08:00
committed by GitHub
parent f5496d14dd
commit 6960bcc08d
4 changed files with 5 additions and 5 deletions

View File

@ -469,7 +469,7 @@ var _ = Describe("Client OnConnect", func() {
})
})
var _ = Describe("Client context cancelation", func() {
var _ = Describe("Client context cancellation", func() {
var opt *redis.Options
var client *redis.Client
@ -484,7 +484,7 @@ var _ = Describe("Client context cancelation", func() {
Expect(client.Close()).NotTo(HaveOccurred())
})
It("Blocking operation cancelation", func() {
It("Blocking operation cancellation", func() {
ctx, cancel := context.WithCancel(ctx)
cancel()