9337ead2bc2ceca82f729c852e688df4c9ac55a8
Values whose type, or slice or array element type, implements fmt.Stringer are now rendered through their String method in the diff section of a failed assertion. Previously a named string such as peer.ID was dumped as raw escaped bytes, which is unreadable. This affects diff presentation only. Equality is still decided by ObjectsAreEqual and is unaffected. The default spew config keeps DisableMethods for every other type, matching the existing time.Time handling in diff. Refs #1215
Languages
Go
100%