Wild-card for the first portion of the error expected
This commit is contained in:
parent
148326d59c
commit
f75a906714
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user