fix in comments.
This commit is contained in:
parent
3d46ee6c10
commit
b37fb4bc67
@ -12,7 +12,7 @@ func (s *AgentServerTestSuite) Test_clientIdPassedAsLocalAddr() {
|
|||||||
listener := NewAgentListener(agentChannel.Session)
|
listener := NewAgentListener(agentChannel.Session)
|
||||||
connection, err := listener.Accept()
|
connection, err := listener.Accept()
|
||||||
s.Nil(err)
|
s.Nil(err)
|
||||||
// clientId identifyable as remote addr
|
// clientId identifyable as local addr
|
||||||
s.Equal(clientId, connection.LocalAddr().String())
|
s.Equal(clientId, connection.LocalAddr().String())
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user