diff --git a/goes_test.go b/goes_test.go index 09a9918..7866558 100644 --- a/goes_test.go +++ b/goes_test.go @@ -102,7 +102,7 @@ func (s *GoesTestSuite) TestEsDown(c *C) { } _, err := r.Run() - c.Assert(err, ErrorMatches, "no such host") + c.Assert(err, ErrorMatches, ".* no such host") } func (s *GoesTestSuite) TestRunMissingIndex(c *C) {