From 56a9538c56b633e0aa478d5ae671d83fb523ec1d Mon Sep 17 00:00:00 2001 From: william Date: Sat, 11 Jun 2022 16:11:42 +0800 Subject: [PATCH] fix:lint error? --- transport/http/client_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/transport/http/client_test.go b/transport/http/client_test.go index 851db6737..b393f8ca7 100644 --- a/transport/http/client_test.go +++ b/transport/http/client_test.go @@ -341,8 +341,10 @@ func TestWithSelectorInvoked(t *testing.T) { t.Error(err) } - client.Do(req) - + _, err = client.Do(req) + if err != nil { + t.Log(err) + } // check if myselector invoked if !myselector.invoked { t.Errorf("myselector didn't invoked")