forked from TrueCloudLab/frostfs-node
*: use require.ErrorIs
where possible
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
3c39e6df11
commit
a4769d8624
8 changed files with 16 additions and 20 deletions
|
@ -53,5 +53,5 @@ func TestBlobovniczaIterate(t *testing.T) {
|
|||
handler: func(IterationElement) error { return expectedErr },
|
||||
ignoreErrors: true,
|
||||
})
|
||||
require.True(t, errors.Is(err, expectedErr), "got: %v")
|
||||
require.ErrorIs(t, err, expectedErr)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue