mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-11 21:44:59 +01:00
test compliance
This commit is contained in:
parent
ecdce1800c
commit
b93c0c287c
@ -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")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user