forked from TrueCloudLab/frostfs-node
[#857] golangci: Add testifylint linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
5d7833c89b
commit
94ffe8bb45
3 changed files with 3 additions and 2 deletions
|
@ -91,7 +91,7 @@ func TestFlush[Option any](
|
|||
|
||||
require.Equal(t, uint32(0), errCount.Load())
|
||||
require.Error(t, wc.Flush(context.Background(), false))
|
||||
require.True(t, errCount.Load() > 0)
|
||||
require.Greater(t, errCount.Load(), uint32(0))
|
||||
require.NoError(t, wc.Flush(context.Background(), true))
|
||||
|
||||
check(t, mb, bs, objects)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue