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

Function TestMapPtrNils

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

Source from the content-addressed store, hash-verified

470}
471
472func TestMapPtrNils(t *testing.T) {
473 v1 := 3
474 v2 := 4
475 testType(t, &TMapStringPtr{X: map[string]*int{"a": nil, "b": &v1, "c": nil, "d": &v2}}, &XMapStringPtr{X: map[string]*int{"a": nil, "b": &v1, "c": nil, "d": &v2}})
476}
477
478func TestSlicePtrStructNils(t *testing.T) {
479 v1 := "v1"

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…