Skip to content

More matchers and is.Nil fixed

Compare
Choose a tag to compare
@corbym corbym released this 21 Dec 14:10
· 34 commits to master since this release
43f86e3

Two more matchers added:

  • has.EveryElement(x1...xn) - checks if actual[i] matches corresponding expectation (x[i])
  • has.StructWithValues(map[string]*gocrest.Matcher) - checks if actual[key] matches corresponding expectation (x[key])

Bugs fixed:

#2