(t *testing.T, err error, want error)
| 92 | } |
| 93 | |
| 94 | func checkOnlyKind(t *testing.T, err error, want error) { |
| 95 | t.Helper() |
| 96 | assert.Assert(t, err != nil) |
| 97 | for _, kind := range allErrorKinds { |
| 98 | assert.Check(t, errors.Is(err, kind) == (kind == want), "errors.Is(%q, %v)", err, kind) |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | func TestParseXMLResponseErrorKinds(t *testing.T) { |
| 103 | e := spcovSetup(t) |
no outgoing calls
no test coverage detected