From 3b548af2c386f36a44e59b3d3b83881fa2ca8efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Je=CC=81ro=CC=82me=20Renard?= Date: Sat, 11 Jan 2014 18:00:54 +0100 Subject: [PATCH] Fixed assertion in TestEsDown --- goes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goes_test.go b/goes_test.go index 075e4c0..9657039 100644 --- a/goes_test.go +++ b/goes_test.go @@ -84,7 +84,7 @@ func (s *GoesTestSuite) TestEsDown(c *C) { } _, err := r.Run() - c.Assert(err.Error(), Equals, "Get http://a.b.c.d:1234/i/_search: lookup a.b.c.d: no such host") + c.Assert(err, ErrorMatches, "Get http://a.b.c.d:1234/i/_search:(.*)lookup a.b.c.d: no such host") } func (s *GoesTestSuite) TestRunMissingIndex(c *C) {