Skip to content
Prev Previous commit
Next Next commit
fix formatting
  • Loading branch information
TheFox0x7 committed Mar 22, 2025
commit c51f3ca01eeb339bad48bc1f68bdef2e291b91df
1 change: 1 addition & 0 deletions modules/ssh/ssh_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ssh_test

Check failure on line 1 in modules/ssh/ssh_test.go

View workflow job for this annotation

GitHub Actions / lint-backend

Copyright not found

Check failure on line 1 in modules/ssh/ssh_test.go

View workflow job for this annotation

GitHub Actions / lint-go-windows

Copyright not found

import (
"crypto/ecdsa"
Expand All @@ -11,6 +11,7 @@
"testing"

"code.gitea.io/gitea/modules/ssh"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/git_helper_for_declarative_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func withKeyFile(t *testing.T, keyname string, callback func(string)) {
assert.NoError(t, err)

keyFile := filepath.Join(tmpDir, keyname)
err = ssh.GenKeyPair(keyFile)
err = ssh.GenKeyPair(keyFile, ssh.RSA)
assert.NoError(t, err)

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