From 2b2729829e4b77e13bb845ff2031bc6f48a14a34 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 17 Jan 2021 15:28:45 +0300 Subject: [PATCH] dont log uneeded debug messages on tests Signed-off-by: Vasiliy Tolstov --- client/http/http_test.go | 1 - config/default_test.go | 1 - server/grpc/grpc_test.go | 2 -- 3 files changed, 4 deletions(-) diff --git a/client/http/http_test.go b/client/http/http_test.go index 4a2fcca..f378ab4 100644 --- a/client/http/http_test.go +++ b/client/http/http_test.go @@ -58,7 +58,6 @@ func TestNativeError(t *testing.T) { if _, ok := err.(*GithubRspError); !ok { t.Fatalf("invalid response received: %T is not *GithubRspError type", err) } - t.Logf("reponse: %s", err.Error()) } func TestNative(t *testing.T) { diff --git a/config/default_test.go b/config/default_test.go index 9d64bf2..809e116 100644 --- a/config/default_test.go +++ b/config/default_test.go @@ -36,5 +36,4 @@ func TestMultiple(t *testing.T) { if cfg.String != "non_default" { t.Fatalf("config not parsed by default source: %#+v\n", cfg) } - t.Logf("config: %#+v\n", cfg) } diff --git a/server/grpc/grpc_test.go b/server/grpc/grpc_test.go index b6c1fe0..1a530d4 100644 --- a/server/grpc/grpc_test.go +++ b/server/grpc/grpc_test.go @@ -90,8 +90,6 @@ func TestGRPCServer(t *testing.T) { if err != nil { t.Fatal(err) } - t.Logf("json: %s\n", buf) - } //rsp := rpb.ServerReflectionResponse{}