From 3cf14884c967bba0c1ead72933b666f31260906f Mon Sep 17 00:00:00 2001 From: Dimitrij Denissenko Date: Wed, 22 Apr 2015 08:50:37 +0100 Subject: [PATCH] Fixed test --- pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool_test.go b/pool_test.go index 4b1bc94..98b4ecc 100644 --- a/pool_test.go +++ b/pool_test.go @@ -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())