forked from SW/traefik
prefer NoError/Error over Nil/NotNil
This commit is contained in:
@@ -1179,7 +1179,7 @@ func TestGetCertificates(t *testing.T) {
|
||||
if test.errResult != "" {
|
||||
assert.EqualError(t, err, test.errResult)
|
||||
} else {
|
||||
assert.Nil(t, err)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, test.result, tlsConfigs)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user