summaryrefslogtreecommitdiff
path: root/internal/sshd/sshd_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/sshd/sshd_test.go')
-rw-r--r--internal/sshd/sshd_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/sshd/sshd_test.go b/internal/sshd/sshd_test.go
index 9187140..e5f6111 100644
--- a/internal/sshd/sshd_test.go
+++ b/internal/sshd/sshd_test.go
@@ -1,10 +1,10 @@
package sshd
import (
- "testing"
"context"
- "path"
"net/http/httptest"
+ "path"
+ "testing"
"time"
"github.com/stretchr/testify/require"
@@ -75,7 +75,7 @@ func setupServer(t *testing.T) *Server {
url := testserver.StartSocketHttpServer(t, []testserver.TestRequestHandler{})
srvCfg := config.ServerConfig{
- Listen: serverUrl,
+ Listen: serverUrl,
HostKeyFiles: []string{path.Join(testhelper.TestRoot, "certs/valid/server.key")},
}
@@ -85,7 +85,7 @@ func setupServer(t *testing.T) *Server {
}
func verifyStatus(t *testing.T, s *Server, st status) {
- for i := 5; i < 500; i+=50 {
+ for i := 5; i < 500; i += 50 {
if s.getStatus() == st {
break
}