MCPcopy Create free account
hub / github.com/pquerna/ffjson / TestInvalidGarbageAfterNewline

Function TestInvalidGarbageAfterNewline

tests/ff_invalid_test.go:73–78  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

71}
72
73func TestInvalidGarbageAfterNewline(t *testing.T) {
74 testExpectedError(t,
75 &fflib.LexerError{},
76 "[1,2,3]\nfoo",
77 &Xarray{})
78}
79
80func TestInvalidGarbageAtEnd(t *testing.T) {
81 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…