Wild-card for the first portion of the error expected

This commit is contained in:
Paul Bonser 2015-12-04 13:27:48 -06:00
parent 148326d59c
commit f75a906714

View File

@ -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) {