From 8b63389deffdf0c0447cc0f71cf09cd44c33d4e9 Mon Sep 17 00:00:00 2001 From: snoop Date: Thu, 10 Aug 2017 11:16:33 +0900 Subject: [PATCH] fixed test --- matcher/imap/imap_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/matcher/imap/imap_test.go b/matcher/imap/imap_test.go index 42872ee..0f2b723 100644 --- a/matcher/imap/imap_test.go +++ b/matcher/imap/imap_test.go @@ -86,7 +86,10 @@ func TestIMapTls(t *testing.T) { func TestIMapNormal(t *testing.T) { - client, _ := net.Dial("tcp", "192.168.1.15:143") + client, err := net.Dial("tcp", "192.168.1.15:143") + if err != nil { + t.Fatal(err) + } defer client.Close()