mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
Fixed test
This commit is contained in:
@ -113,7 +113,7 @@ var _ = Describe("Pool", func() {
|
|||||||
|
|
||||||
err = client.Ping().Err()
|
err = client.Ping().Err()
|
||||||
Expect(err).To(HaveOccurred())
|
Expect(err).To(HaveOccurred())
|
||||||
Expect(err.Error()).To(Equal("use of closed network connection"))
|
Expect(err.Error()).To(ContainSubstring("use of closed network connection"))
|
||||||
|
|
||||||
val, err := client.Ping().Result()
|
val, err := client.Ping().Result()
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
|
Reference in New Issue
Block a user