aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/gpg_git_test.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2022-01-20 18:46:10 +0100
committerGitHub <noreply@github.com>2022-01-20 18:46:10 +0100
commit54e9ee37a7a301dbe74d46fd3c87712e6120e9bf (patch)
tree1be12fb072625c1b896b9d72f7912b018aad502b /integrations/gpg_git_test.go
parent1d98d205f5825f40110e6628b61a97c91ac7f72d (diff)
downloadgitea-54e9ee37a7a301dbe74d46fd3c87712e6120e9bf.tar.gz
gitea-54e9ee37a7a301dbe74d46fd3c87712e6120e9bf.zip
format with gofumpt (#18184)
* gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt
Diffstat (limited to 'integrations/gpg_git_test.go')
-rw-r--r--integrations/gpg_git_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/integrations/gpg_git_test.go b/integrations/gpg_git_test.go
index 8478f53c0e..461f3c503d 100644
--- a/integrations/gpg_git_test.go
+++ b/integrations/gpg_git_test.go
@@ -32,7 +32,7 @@ func TestGPGGit(t *testing.T) {
assert.NoError(t, err)
defer util.RemoveAll(tmpDir)
- err = os.Chmod(tmpDir, 0700)
+ err = os.Chmod(tmpDir, 0o700)
assert.NoError(t, err)
oldGNUPGHome := os.Getenv("GNUPGHOME")
@@ -257,7 +257,6 @@ func TestGPGGit(t *testing.T) {
}
assert.Equal(t, "gitea@fake.local", response.Verification.Signer.Email)
}))
-
})
}, false)
var pr api.PullRequest
@@ -321,7 +320,6 @@ func TestGPGGit(t *testing.T) {
assert.NotNil(t, branch.Commit.Verification)
assert.True(t, branch.Commit.Verification.Verified)
}))
-
})
}, false)
}