Browse Source

Fixed assertion in TestEsDown

tags/v1.0.0
Jérôme Renard 10 years ago
parent
commit
3b548af2c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      goes_test.go

+ 1
- 1
goes_test.go View File

@@ -84,7 +84,7 @@ func (s *GoesTestSuite) TestEsDown(c *C) {
}
_, err := r.Run()

c.Assert(err.Error(), Equals, "Get http://a.b.c.d:1234/i/_search: lookup a.b.c.d: no such host")
c.Assert(err, ErrorMatches, "Get http://a.b.c.d:1234/i/_search:(.*)lookup a.b.c.d: no such host")
}

func (s *GoesTestSuite) TestRunMissingIndex(c *C) {


Loading…
Cancel
Save