(t *testing.T)
| 1728 | } |
| 1729 | |
| 1730 | func TestDecoderObjectDecoderInvalidJSONError3(t *testing.T) { |
| 1731 | v := &TestSubObj{} |
| 1732 | dec := NewDecoder(strings.NewReader(`{"err":"test}`)) |
| 1733 | err := dec.DecodeObject(v) |
| 1734 | assert.NotNil(t, err, "Err must not be nil as JSON is invalid") |
| 1735 | assert.IsType(t, InvalidJSONError(""), err, "err message must be 'Invalid JSON'") |
| 1736 | } |
| 1737 | |
| 1738 | func TestDecoderObjectDecoderInvalidJSONError4(t *testing.T) { |
| 1739 | testArr := testSliceInts{} |
nothing calls this directly
no test coverage detected
searching dependent graphs…