From 278dca5d3527a5dbde323cac7a3b5d3dd250deb8 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Mon, 9 Jan 2023 16:12:23 +0300 Subject: [PATCH] update lint fixes --- core/healthcheck/notifier_test.go | 6 ++---- core/healthcheck/storage_test.go | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/healthcheck/notifier_test.go b/core/healthcheck/notifier_test.go index 8da1562..eb7b415 100644 --- a/core/healthcheck/notifier_test.go +++ b/core/healthcheck/notifier_test.go @@ -13,8 +13,7 @@ import ( "gopkg.in/h2non/gock.v1" ) -func TestDefaultNotifyFunc(t *testing.T) { - t.Parallel() +func TestDefaultNotifyFunc(t *testing.T) { // nolint:paralleltest apiURL := "https://test.retailcrm.pro" apiKey := "key" msg := "Notification" @@ -37,8 +36,7 @@ func TestDefaultNotifyFunc(t *testing.T) { testutil.AssertNoUnmatchedRequests(t) } -func TestDefaultNotifyFunc_Error(t *testing.T) { - t.Parallel() +func TestDefaultNotifyFunc_Error(t *testing.T) { // nolint:paralleltest apiURL := "https://test.retailcrm.pro" apiKey := "key" msg := "Notification" diff --git a/core/healthcheck/storage_test.go b/core/healthcheck/storage_test.go index ce4919d..fff2a0b 100644 --- a/core/healthcheck/storage_test.go +++ b/core/healthcheck/storage_test.go @@ -13,6 +13,7 @@ type SyncMapStorageTest struct { } func TestSyncMapStorage(t *testing.T) { + t.Parallel() suite.Run(t, new(SyncMapStorageTest)) }