MCPcopy Index your code
hub / github.com/pquerna/ffjson / TestInvalidNoValue

Function TestInvalidNoValue

tests/ff_obj_test.go:37–42  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

35}
36
37func TestInvalidNoValue(t *testing.T) {
38 testExpectedError(t,
39 &fflib.LexerError{},
40 `{"X":}`,
41 &Xobj{})
42}
43
44func TestInvalidTrailingComma(t *testing.T) {
45 testExpectedError(t,

Callers

nothing calls this directly

Calls 1

testExpectedErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…