(t *testing.T)
| 220 | } |
| 221 | |
| 222 | func TestEqualError(t *testing.T) { |
| 223 | |
| 224 | EqualError(t, errors.New("some error"), "some error") |
| 225 | |
| 226 | mockT := new(MockT) |
| 227 | EqualError(mockT, errors.New("some error"), "Not some error") |
| 228 | if !mockT.Failed { |
| 229 | t.Error("Check should fail") |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | func TestEmpty(t *testing.T) { |
| 234 |
nothing calls this directly
no test coverage detected
searching dependent graphs…