Repair tests

This commit is contained in:
Jakob Borg 2013-09-26 10:21:23 +02:00
parent 2cbbdd6d7e
commit 313ea739e1
1 changed files with 2 additions and 2 deletions

View File

@ -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 {