update lint fixes

This commit is contained in:
Pavel 2023-01-09 16:12:23 +03:00
parent 0f7c6c6669
commit 278dca5d35
2 changed files with 3 additions and 4 deletions

View File

@ -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"

View File

@ -13,6 +13,7 @@ type SyncMapStorageTest struct {
}
func TestSyncMapStorage(t *testing.T) {
t.Parallel()
suite.Run(t, new(SyncMapStorageTest))
}