From 313ea739e1a5767ee5de926310005748ce8864bb Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 26 Sep 2013 10:21:23 +0200 Subject: [PATCH] Repair tests --- client/mocknetconn_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/mocknetconn_test.go b/client/mocknetconn_test.go index 1159268..d2cb423 100644 --- a/client/mocknetconn_test.go +++ b/client/mocknetconn_test.go @@ -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 {