(t *testing.T)
| 711 | } |
| 712 | |
| 713 | func TestDecoderSkipStringError(t *testing.T) { |
| 714 | dec := NewDecoder(strings.NewReader(`invalid`)) |
| 715 | defer dec.Release() |
| 716 | err := dec.skipString() |
| 717 | assert.NotNil(t, err, "Err must be nil") |
| 718 | assert.IsType(t, InvalidJSONError(""), err, "err must be of type InvalidJSONError") |
| 719 | } |
| 720 | |
| 721 | func TestSkipString(t *testing.T) { |
| 722 | testCases := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…