forked from forgejo/forgejo
prefer NoError/Error over Nil/NotNil (#12271)
This commit is contained in:
parent
b609a25014
commit
54513452a1
11 changed files with 34 additions and 34 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue