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) {
5050}
5151
5252func 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
5454 err := os .Chmod (tmpDir , 0o700 )
5555 assert .NoError (t , err )
5656
@@ -79,7 +79,7 @@ func TestGPGGitDefaults(t *testing.T) {
7979}
8080
8181func 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
8383 err := os .Chmod (tmpDir , 0o700 )
8484 assert .NoError (t , err )
8585
@@ -106,7 +106,7 @@ func TestSSHGit(t *testing.T) {
106106}
107107
108108func 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
110110 err := os .Chmod (tmpDir , 0o700 )
111111 assert .NoError (t , err )
112112
You can’t perform that action at this time.
0 commit comments