You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed a number of bugs with the handling of nil values. If you called d.Is(nil, d.Map(...)) you'd get a panic instead of a failure. The same applied to d.Slice, d.Struct, and the FuncComparer returned by d.Func and d.NamedFunc. If you called d.Is(nil, ...) it would sometimes consider the two argument not nil, if the second argument was a nil of a specific type (like you get if you write var s *string or var s []int).
Calling d.Passes recorded the call's path as d.Is instead of d.Passes.
Fixed various bugs in struct testing that could lead to panics instead of test failures.