(t *testing.T)
| 695 | } |
| 696 | |
| 697 | func TestDecoderSkipEscapedStringError3(t *testing.T) { |
| 698 | dec := NewDecoder(strings.NewReader(`invalid`)) |
| 699 | defer dec.Release() |
| 700 | err := dec.skipEscapedString() |
| 701 | assert.NotNil(t, err, "Err must be nil") |
| 702 | assert.IsType(t, InvalidJSONError(""), err, "err must be of type InvalidJSONError") |
| 703 | } |
| 704 | |
| 705 | func TestDecoderSkipEscapedStringError4(t *testing.T) { |
| 706 | dec := NewDecoder(strings.NewReader(`\u12`)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…