1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-06 01:35:48 +03:00

Fix build

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

View File

@@ -206,7 +206,8 @@ var _ = Describe("Redis Ring", func() {
ring = redis.NewRing(opts)
err := ring.Ping().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"))
})
})