Przeglądaj źródła

Fixed assertion in TestEsDown

tags/v1.0.0
Jérôme Renard 10 lat temu
rodzic
commit
3b548af2c3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      goes_test.go

+ 1
- 1
goes_test.go Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz