Skip to content

Commit c9113b1

Browse files
author
Aaron Schlesinger
committed
ref(pkg/sshd/server_test.go): make the server address constant
1 parent 99f9d81 commit c9113b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pkg/sshd/server_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import (
99
"golang.org/x/crypto/ssh"
1010
)
1111

12-
var testingServerAddr = "127.0.0.1:2244"
12+
const (
13+
testingServerAddr = "127.0.0.1:2244"
14+
)
1315

1416
// TestServer tests the SSH server.
1517
//

0 commit comments

Comments
 (0)