Re:Effective Go
by closeparen on Sunday October 03, 2021 @03:13PM
(#28739741)
It would be interesting to know what errors we might get, but unit testing an error return branch doesn't tell us that. It tells us that any non-nil error will be returned.
[ Parent
| on HN ]
There are no comments on this comment yet.