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

Function TestInvalidGarbageAtEnd

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

Source from the content-addressed store, hash-verified

78}
79
80func TestInvalidGarbageAtEnd(t *testing.T) {
81 testExpectedError(t,
82 &fflib.LexerError{},
83 "[1,2,3]foo",
84 &Xarray{})
85}
86
87func TestInvalidIntStartingWithZero(t *testing.T) {
88 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…