mirror of https://github.com/fluffle/goirc
Repair tests
This commit is contained in:
parent
2cbbdd6d7e
commit
313ea739e1
|
@ -136,11 +136,11 @@ func (m *mockNetConn) Close() error {
|
|||
}
|
||||
|
||||
func (m *mockNetConn) LocalAddr() net.Addr {
|
||||
return &net.IPAddr{net.IPv4(127, 0, 0, 1)}
|
||||
return &net.IPAddr{IP: net.IPv4(127, 0, 0, 1)}
|
||||
}
|
||||
|
||||
func (m *mockNetConn) RemoteAddr() net.Addr {
|
||||
return &net.IPAddr{net.IPv4(127, 0, 0, 1)}
|
||||
return &net.IPAddr{IP: net.IPv4(127, 0, 0, 1)}
|
||||
}
|
||||
|
||||
func (m *mockNetConn) SetDeadline(t time.Time) error {
|
||||
|
|
Loading…
Reference in New Issue