mirror of
https://github.com/go-gitea/gitea
synced 2025-01-24 21:17:43 +01:00
Fix test
This commit is contained in:
parent
95bccdbc3b
commit
91147db3bb
@ -53,7 +53,7 @@ func TestGetFormatPatch(t *testing.T) {
|
|||||||
defer repo.Close()
|
defer repo.Close()
|
||||||
|
|
||||||
rd := &bytes.Buffer{}
|
rd := &bytes.Buffer{}
|
||||||
err = repo.GetPatch("8d92fc95^ 8d92fc95", rd)
|
err = repo.GetPatch("8d92fc95^...8d92fc95", rd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user