Fixed test

This commit is contained in:
Dimitrij Denissenko 2015-04-22 08:50:37 +01:00
parent 750d14fe21
commit 3cf14884c9
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ var _ = Describe("Pool", func() {
err = client.Ping().Err()
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()
Expect(err).NotTo(HaveOccurred())