mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 01:24:39 +02:00
prefer NoError/Error over Nil/NotNil (#12271)
This commit is contained in:
1 parent
b609a25014
commit
54513452a1
11 files changed
+34
-34
No files matched your search
@@ -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