1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Added OnConnect callback to UniversalOptions (#747)

* Added OnConnect callback to UniversalOptions
This commit is contained in:
Olve S. Hansen
2018-04-16 09:15:52 +02:00
committed by Vladimir Mihailenco
parent 877867d284
commit 1b1fc80e20
2 changed files with 5 additions and 1 deletions

View File

@ -219,7 +219,7 @@ var _ = Describe("Commands", func() {
It("Should Command", func() {
cmds, err := client.Command().Result()
Expect(err).NotTo(HaveOccurred())
Expect(len(cmds)).To(BeNumerically("~", 180, 10))
Expect(len(cmds)).To(BeNumerically("~", 185, 10))
cmd := cmds["mget"]
Expect(cmd.Name).To(Equal("mget"))