0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-11 17:25:24 +01:00

test compliance

This commit is contained in:
badhezi 2025-10-08 13:12:44 +03:00
parent ecdce1800c
commit b93c0c287c

View File

@ -174,7 +174,7 @@ func TestCompareRawDiffNormal(t *testing.T) {
session := loginUser(t, user1.Name)
r, _ := gitrepo.OpenRepository(db.DefaultContext, repo)
defer r.Close()
defer r.Close()
oldRef, _ := r.GetBranchCommit(repo.DefaultBranch)
oldBlobRef, _ := revParse(r, oldRef.ID.String(), "README.md")