From f75a9067142b993f360c2f5cb55afbf799d938ff Mon Sep 17 00:00:00 2001 From: Paul Bonser Date: Fri, 4 Dec 2015 13:27:48 -0600 Subject: [PATCH] Wild-card for the first portion of the error expected --- goes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {