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

Function TestLargeStringReads

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

Source from the content-addressed store, hash-verified

206}
207
208func TestLargeStringReads(t *testing.T) {
209 var buf Buffer
210 for i := 3; i < 30; i += 3 {
211 s := fillString(t, "TestLargeReads (1)", &buf, "", 5, testString[0:len(testString)/i])
212 empty(t, "TestLargeReads (2)", &buf, s, make([]byte, len(testString)))
213 }
214 check(t, "TestLargeStringReads (3)", &buf, "")
215}
216
217func TestLargeByteReads(t *testing.T) {
218 var buf Buffer

Callers

nothing calls this directly

Calls 3

fillStringFunction · 0.85
emptyFunction · 0.85
checkFunction · 0.85

Tested by

no test coverage detected