mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 18:17:19 +00:00
prefer NoError/Error over Nil/NotNil (#12271)
This commit is contained in:
@ -35,6 +35,6 @@ func TestGetBlobBySHA(t *testing.T) {
|
||||
SHA: "65f1bf27bc3bf70f64657658635e66094edbcb4d",
|
||||
Size: 180,
|
||||
}
|
||||
assert.Nil(t, err)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, expectedGBR, gbr)
|
||||
}
|
||||
|
Reference in New Issue
Block a user