Skip to content

Commit c51f3ca

Browse files
committed
fix formatting
1 parent ea31ae8 commit c51f3ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/ssh/ssh_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"testing"
1212

1313
"code.gitea.io/gitea/modules/ssh"
14+
1415
"github.com/stretchr/testify/assert"
1516
"github.com/stretchr/testify/require"
1617
)

tests/integration/git_helper_for_declarative_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func withKeyFile(t *testing.T, keyname string, callback func(string)) {
3232
assert.NoError(t, err)
3333

3434
keyFile := filepath.Join(tmpDir, keyname)
35-
err = ssh.GenKeyPair(keyFile)
35+
err = ssh.GenKeyPair(keyFile, ssh.RSA)
3636
assert.NoError(t, err)
3737

3838
err = os.WriteFile(path.Join(tmpDir, "ssh"), []byte("#!/bin/bash\n"+

0 commit comments

Comments
 (0)