File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ func TestGPGGit(t *testing.T) {
50
50
}
51
51
52
52
func TestGPGGitDefaults (t * testing.T ) {
53
- tmpDir := t .TempDir () // use a temp dir to avoid messing with the user's GPG keyring
53
+ tmpDir := t .TempDir () // use a temp dir to avoid messing with the user's GPG keyring and git config
54
54
err := os .Chmod (tmpDir , 0o700 )
55
55
assert .NoError (t , err )
56
56
@@ -79,7 +79,7 @@ func TestGPGGitDefaults(t *testing.T) {
79
79
}
80
80
81
81
func TestSSHGit (t * testing.T ) {
82
- tmpDir := t .TempDir () // use a temp dir to avoid messing with the user's GPG keyring
82
+ tmpDir := t .TempDir () // use a temp dir to store the SSH keys
83
83
err := os .Chmod (tmpDir , 0o700 )
84
84
assert .NoError (t , err )
85
85
@@ -106,7 +106,7 @@ func TestSSHGit(t *testing.T) {
106
106
}
107
107
108
108
func TestSSHGitDefaults (t * testing.T ) {
109
- tmpDir := t .TempDir () // use a temp dir to avoid messing with the user's GPG keyring
109
+ tmpDir := t .TempDir () // use a temp dir to store the SSH keys and git config
110
110
err := os .Chmod (tmpDir , 0o700 )
111
111
assert .NoError (t , err )
112
112
You can’t perform that action at this time.
0 commit comments