ErrorIs asserts errors.Is(got, exp)
(t testing.TB, exp, got error)
| 47 | |
| 48 | // ErrorIs asserts errors.Is(got, exp) |
| 49 | func ErrorIs(t testing.TB, exp, got error) { |
| 50 | t.Helper() |
| 51 | |
| 52 | if !errors.Is(got, exp) { |
| 53 | t.Fatalf("expected %v but got %v", exp, got) |
| 54 | } |
| 55 | } |
no outgoing calls
searching dependent graphs…