Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc1475d

Browse files
committed
fix windows tests
1 parent 7451f7b commit dc1475d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/ssh_internal_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func newSSHServer(addr string) *sshServer {
324324
server: &gliderssh.Server{
325325
Addr: addr,
326326
Handler: func(s gliderssh.Session) {
327-
_, _ = io.WriteString(s, "Connected!")
327+
_, _ = io.WriteString(s.Stderr(), "Connected!")
328328
},
329329
},
330330
}

0 commit comments

Comments
 (0)