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

Function TestInvalidNullByteInString

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

Source from the content-addressed store, hash-verified

176}
177
178func TestInvalidNullByteInString(t *testing.T) {
179 testExpectedError(t,
180 &fflib.LexerError{},
181 "\"\u0000 <- null byte\"",
182 &Xstring{})
183}
184
185func TestInvalidFloatGarbageAfterE(t *testing.T) {
186 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…