Closed samuong closed 4 years ago
Ah, good catch. I was just doing a blind search and replace for Nil(t, err)
and had forgotten the cases where I wasn't checking an actual variable named err
. This is fixed now. The remaining assert.Nil()
calls are for non-error
values, so I've left them.
I never really knew that there was a
NoError()
function until recently, so I was usingNil()
instead. This pull request changes all the calls toNil(t, err)
toNoError(t, err)