summaryrefslogtreecommitdiffstats
path: root/integrations/gpg_git_test.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-12-08 01:14:50 +0000
committerGitHub <noreply@github.com>2019-12-08 01:14:50 +0000
commit3da6d256f47604fc5b8f3b63d595d8e230c8ffae (patch)
tree96efc990ae033eb2907b9cb65006a0d52a9297c1 /integrations/gpg_git_test.go
parent37e10d4543c1e516e1a721d72c0054fefceb9499 (diff)
downloadgitea-3da6d256f47604fc5b8f3b63d595d8e230c8ffae.tar.gz
gitea-3da6d256f47604fc5b8f3b63d595d8e230c8ffae.zip
Missed defer prepareTestEnv (#9285)
* onGiteaRun should defer the cleanup from prepareTestEnv * Some more missed defers
Diffstat (limited to 'integrations/gpg_git_test.go')
-rw-r--r--integrations/gpg_git_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/gpg_git_test.go b/integrations/gpg_git_test.go
index 6c9b7c00ff..a31dec29bb 100644
--- a/integrations/gpg_git_test.go
+++ b/integrations/gpg_git_test.go
@@ -23,7 +23,7 @@ import (
)
func TestGPGGit(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
username := "user2"
// OK Set a new GPG home