Merge pull request #41 from pib/1_5_fix

Fix tests for Go 1.5
This commit is contained in:
Jérôme Renard 2015-12-05 07:15:30 +01:00
commit 23413ed12a

View File

@ -102,7 +102,7 @@ func (s *GoesTestSuite) TestEsDown(c *C) {
}
_, err := r.Run()
c.Assert(err, ErrorMatches, "Get http://a.b.c.d:1234/i/_search:(.*)lookup a.b.c.d: no such host")
c.Assert(err, ErrorMatches, ".* no such host")
}
func (s *GoesTestSuite) TestRunMissingIndex(c *C) {