MCPcopy
hub / github.com/pquerna/ffjson / TestInt

Function TestInt

fflib/v1/lexer_test.go:264–269  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

262}
263
264func TestInt(t *testing.T) {
265 tInt(t, `{"a": 2000}`, 2000)
266 tInt(t, `{"a": -2000}`, -2000)
267 tInt(t, `{"a": 0}`, 0)
268 tInt(t, `{"a": -0}`, -0)
269}
270
271func tError(t *testing.T, input string, targetCount int, targetError FFErr) {
272 ffl := NewFFLexer([]byte(input))

Callers

nothing calls this directly

Calls 1

tIntFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…