Browse Source

Wild-card for the first portion of the error expected

tags/v1.0.0
Paul Bonser 8 years ago
parent
commit
f75a906714
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      goes_test.go

+ 1
- 1
goes_test.go View File

@@ -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…
Cancel
Save