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
|
@ -183,7 +183,7 @@ func TestGetLocalOnly(t *testing.T) {
|
|||
p := newPrm(cid, w)
|
||||
|
||||
err := svc.Search(ctx, p)
|
||||
require.True(t, errors.Is(err, testErr))
|
||||
require.ErrorIs(t, err, testErr)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue