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

Function TestSlicePtrStructNils

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

Source from the content-addressed store, hash-verified

476}
477
478func TestSlicePtrStructNils(t *testing.T) {
479 v1 := "v1"
480 v2 := "v2"
481 testType(t, &TslicePtrStruct{X: []*Xstring{nil, &Xstring{v1}, nil, &Xstring{v2}}}, &XslicePtrStruct{X: []*Xstring{nil, &Xstring{v1}, nil, &Xstring{v2}}})
482}
483
484func TestMapPtrStructNils(t *testing.T) {
485 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…