feat: vendor gitea 1.16.2
This commit is contained in:
@@ -47,5 +47,5 @@ func TestGetNonExistentNotes(t *testing.T) {
|
||||
note := Note{}
|
||||
err = GetNote(t.Context(), bareRepo1, "non_existent_sha", ¬e)
|
||||
assert.Error(t, err)
|
||||
assert.IsType(t, ErrNotExist{}, err)
|
||||
assert.ErrorAs(t, err, &ErrNotExist{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user