[MM-61259] Fix errcheck issues in server/channels/app/import_utils_test.go (#28955)
Этот коммит содержится в:
@@ -106,7 +106,6 @@ issues:
|
||||
channels/app/imaging/decode.go|\
|
||||
channels/app/import_functions.go|\
|
||||
channels/app/import_functions_test.go|\
|
||||
channels/app/import_utils_test.go|\
|
||||
channels/app/imports/import_validators.go|\
|
||||
channels/app/integration_action.go|\
|
||||
channels/app/integration_action_test.go|\
|
||||
|
||||
@@ -35,7 +35,10 @@ func TestGeneratePassword(t *testing.T) {
|
||||
|
||||
t.Run("Should not fail on concurrent calls", func(t *testing.T) {
|
||||
for i := 0; i < 10; i++ {
|
||||
go generatePassword(10)
|
||||
go func() {
|
||||
_, err := generatePassword(10)
|
||||
require.NoError(t, err)
|
||||
}()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user