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:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user