client: Replace nil value testing with assert.Nil
Multiple errors in previous commit where `nil` is not being detected by `assert.Equal`dependabot/go_modules/go.uber.org/atomic-1.10.0
parent
25d3c1b068
commit
facba6c663
|
@ -31,7 +31,7 @@ func copyToInterface(msg ...string) []interface{} {
|
|||
|
||||
func AssertNil(t *testing.T, v interface{}) {
|
||||
t.Helper()
|
||||
assert.Equal(t, nil, v)
|
||||
assert.Nil(t, v)
|
||||
}
|
||||
|
||||
func AssertNotNil(t *testing.T, v interface{}) {
|
||||
|
|
Loading…
Reference in New Issue