(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestErrorContains(t *testing.T) { |
| 39 | t.Parallel() |
| 40 | |
| 41 | tb := &fakeTB{} |
| 42 | assert.ErrorContains(tb, "meow", io.EOF, "eof") |
| 43 | |
| 44 | defer func() { |
| 45 | recover() |
| 46 | simpleassert.Equal(t, "fatals", 1, tb.fatals) |
| 47 | }() |
| 48 | assert.ErrorContains(tb, "meow", io.ErrClosedPipe, "eof") |
| 49 | } |
| 50 | |
| 51 | func TestSuccess(t *testing.T) { |
| 52 | t.Parallel() |
nothing calls this directly
no test coverage detected