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

Function TestMapPtrStructNils

tests/ff_test.go:484–488  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

482}
483
484func TestMapPtrStructNils(t *testing.T) {
485 v1 := "v1"
486 v2 := "v2"
487 testType(t, &TMapPtrStruct{X: map[string]*Xstring{"a": nil, "b": &Xstring{v1}, "c": nil, "d": &Xstring{v2}}}, &XMapPtrStruct{X: map[string]*Xstring{"a": nil, "b": &Xstring{v1}, "c": nil, "d": &Xstring{v2}}})
488}
489
490func TestTimeDuration(t *testing.T) {
491 testType(t, &Tduration{}, &Xduration{})

Callers

nothing calls this directly

Calls 1

testTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…