MCPcopy
hub / github.com/pquerna/ffjson / TestInvalid

Function TestInvalid

fflib/v1/lexer_test.go:301–304  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

299}
300
301func TestInvalid(t *testing.T) {
302 tError(t, `{"a": nul}`, 4, FFErr_invalid_string)
303 tError(t, `{"a": 1.a}`, 4, FFErr_missing_integer_after_decimal)
304}
305
306func TestCapture(t *testing.T) {
307 ffl := NewFFLexer([]byte(`{"hello": {"blah": [null, 1]}}`))

Callers

nothing calls this directly

Calls 1

tErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…