mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 05:46:37 +00:00
testifylint: enable error-nil rule (#7670)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -61,6 +61,6 @@ func TestStreamReader(t *testing.T) {
|
||||
|
||||
res, err := io.ReadAll(sr)
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NoError(t, err)
|
||||
assert.Equal(t, s, string(res))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user