1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Fix build

This commit is contained in:
Vladimir Mihailenco
2020-06-05 09:30:21 +03:00
parent 2e8ce55021
commit 073d805708
3 changed files with 13 additions and 7 deletions

View File

@ -183,7 +183,8 @@ var _ = Describe("Redis Ring", func() {
ring = redis.NewRing(opts)
err := ring.Ping(ctx).Err()
Expect(err).To(MatchError("ERR Client sent AUTH, but no password is set"))
Expect(err).To(HaveOccurred())
Expect(err.Error()).To(ContainSubstring("ERR AUTH"))
})
})