mirror of
https://codeberg.org/forgejo-aneksajo/forgejo-aneksajo.git
synced 2025-04-20 13:16:43 +02:00
Adapt patch to upstream changes
Use tests.FileCmp instead of util.FileCmp.
This commit is contained in:
parent
e335b49274
commit
d2c9ac7697
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func doAnnexMediaTest(t *testing.T, ctx APITestContext, file string) {
|
|||
fd.Close()
|
||||
|
||||
// verify the download
|
||||
match, err := util.FileCmp(localObjectPath, remoteObjectPath, 0)
|
||||
match, err := tests.FileCmp(localObjectPath, remoteObjectPath, 0)
|
||||
require.NoError(t, err)
|
||||
require.True(t, match, "Annexed files should be the same")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue