ソースを参照

Fixed assertion in TestEsDown

tags/v1.0.0
Jérôme Renard 10年前
コミット
3b548af2c3
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      goes_test.go

+ 1
- 1
goes_test.go ファイルの表示

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


読み込み中…
キャンセル
保存