Skip to content

Release v4.1.0

Compare
Choose a tag to compare
@ansel1 ansel1 released this 28 Jan 04:52
· 29 commits to master since this release
  • learned ContainsMatch, which is like Contains, but returns more information about the match
  • learned Equivalent and EquivalentMatch, which is like an approximate deep equals, using the same matching logic as Contains
  • better messages from Contains explaining where the mismatch is
  • new package: mapstest. Implements test assertions for containment and equivalency. Prints pretty diffs when values don't match
  • support for proto.Message: if value is a proto.Message, use protojson.Marshal instead of json.Marshal