From ec4eec93ae1b5e061331e81fd46c0fa03bcae954 Mon Sep 17 00:00:00 2001 From: Kirill Sysoev Date: Sat, 13 Apr 2024 14:40:42 +0800 Subject: [PATCH] Makes code tidy --- backend/http_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/http_test.go b/backend/http_test.go index a01c8c7..12c6c36 100644 --- a/backend/http_test.go +++ b/backend/http_test.go @@ -19,10 +19,6 @@ func TestNewBackend(t *testing.T) { } backend := NewBackend(factory) - if backend == nil { - t.Error("Expected backend to be created, but got nil") - } - if backend.client.Timeout != defaultTimeout { t.Errorf("Expected default timeout to be %v, but got %v", defaultTimeout, backend.client.Timeout) }