summaryrefslogtreecommitdiffstats
path: root/modules/git/tree_entry_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/tree_entry_test.go')
-rw-r--r--modules/git/tree_entry_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/git/tree_entry_test.go b/modules/git/tree_entry_test.go
index c65a691ecf..e872900370 100644
--- a/modules/git/tree_entry_test.go
+++ b/modules/git/tree_entry_test.go
@@ -56,6 +56,7 @@ func TestEntriesCustomSort(t *testing.T) {
func TestFollowLink(t *testing.T) {
r, err := OpenRepository("tests/repos/repo1_bare")
assert.NoError(t, err)
+ defer r.Close()
commit, err := r.GetCommit("37991dec2c8e592043f47155ce4808d4580f9123")
assert.NoError(t, err)