// withTestConn is a SessionOption used in testing to supply a net.Conn
// without actually dialing a unix socket.
withTestConn is a SessionOption used in testing to supply a net.Conn
without actually dialing a unix socket.
// withTestConn is a SessionOption used in testing to supply a net . Conn // without actually dialing a unix socket .
func withTestConn(conn net.Conn) SessionOption {
	return newFuncSessionOption(func(so *sessionOpts) {
		so.conn = conn
	})
}
func withTestConn ( conn net . Conn ) SessionOption { return newFuncSessionOption ( func ( so * sessionOpts ) { so . conn = conn } ) }
withTestConn is a SessionOption used in testing to supply a net.Conn
without actually dialing a unix socket.
withTestConn is a SessionOption used in testing to supply a net . Conn without actually dialing a unix socket .