Closed akshayjshah closed 2 years ago
Because the cmp API doesn't take a testing.TB, they're forced to panic (or make their API very unpleasant) when they get invalid input. Panics are disconcerting for users, though - we should probably trap these panics and fail the test instead.
cmp
testing.TB
Because the
cmp
API doesn't take atesting.TB
, they're forced to panic (or make their API very unpleasant) when they get invalid input. Panics are disconcerting for users, though - we should probably trap these panics and fail the test instead.