*: use require.ErrorIs where possible

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-04-29 13:22:29 +03:00 committed by LeL
parent 3c39e6df11
commit a4769d8624
8 changed files with 16 additions and 20 deletions

View file

@ -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)
})
}