internal/sshd/sshd_test.go
Function TestListenAndServe_proxyProtocolEnabled
has 151 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestListenAndServe_proxyProtocolEnabled(t *testing.T) {
testRoot := testhelper.PrepareTestRootDir(t)
target, err := net.ResolveTCPAddr("tcp", serverURL)
require.NoError(t, err)