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

Function TestInvalidNegativeFloat

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

Source from the content-addressed store, hash-verified

113}
114
115func TestInvalidNegativeFloat(t *testing.T) {
116 testExpectedError(t,
117 &fflib.LexerError{},
118 `-124.123foo`,
119 &Xfloat64{})
120}
121
122func TestInvalidSecondSurrogate(t *testing.T) {
123 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…