MCPcopy Create free account
hub / github.com/Shopify/goose / TestNewBufferString

Function TestNewBufferString

syncio/buffer_test.go:94–97  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

92}
93
94func TestNewBufferString(t *testing.T) {
95 buf := NewBufferString(testString)
96 check(t, "NewBufferString", buf, testString)
97}
98
99// Empty buf through repeated reads into fub.
100// The initial contents of buf corresponds to the string s.

Callers

nothing calls this directly

Calls 2

NewBufferStringFunction · 0.85
checkFunction · 0.85

Tested by

no test coverage detected