mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Fix build
This commit is contained in:
@ -35,9 +35,10 @@ var _ = Describe("Commands", func() {
|
||||
pipe.Auth(ctx, "")
|
||||
return nil
|
||||
})
|
||||
Expect(err).To(MatchError("ERR Client sent AUTH, but no password is set"))
|
||||
Expect(cmds[0].Err()).To(MatchError("ERR Client sent AUTH, but no password is set"))
|
||||
Expect(cmds[1].Err()).To(MatchError("ERR Client sent AUTH, but no password is set"))
|
||||
Expect(err).To(HaveOccurred())
|
||||
Expect(err.Error()).To(ContainSubstring("ERR AUTH"))
|
||||
Expect(cmds[0].Err().Error()).To(ContainSubstring("ERR AUTH"))
|
||||
Expect(cmds[1].Err().Error()).To(ContainSubstring("ERR AUTH"))
|
||||
|
||||
stats := client.PoolStats()
|
||||
Expect(stats.Hits).To(Equal(uint32(1)))
|
||||
|
Reference in New Issue
Block a user