MCPcopy Index your code
hub / github.com/tinylib/msgp / TestAppendNil

Function TestAppendNil

msgp/write_bytes_test.go:130–136  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

128}
129
130func TestAppendNil(t *testing.T) {
131 var bts []byte
132 bts = AppendNil(bts[0:0])
133 if bts[0] != mnil {
134 t.Fatal("bts[0] is not 'nil'")
135 }
136}
137
138func TestAppendFloat(t *testing.T) {
139 rng := rand.New(rand.NewSource(0))

Callers

nothing calls this directly

Calls 1

AppendNilFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…