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

Function TestInvalidTrailingComma

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

Source from the content-addressed store, hash-verified

42}
43
44func TestInvalidTrailingComma(t *testing.T) {
45 testExpectedError(t,
46 &fflib.LexerError{},
47 `{"X":"foo",}`,
48 &Xobj{})
49}
50
51func TestInvalidRougeComma(t *testing.T) {
52 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…