MCPcopy Index your code
hub / github.com/ContentSquare/chproxy / bbToString

Function bbToString

proxy_test.go:1192–1198  ·  view source on GitHub ↗
(t *testing.T, r io.Reader)

Source from the content-addressed store, hash-verified

1190}
1191
1192func bbToString(t *testing.T, r io.Reader) string {
1193 response, err := io.ReadAll(r)
1194 if err != nil {
1195 t.Fatalf("unexpected err while reading: %s", err)
1196 }
1197 return string(response)
1198}
1199
1200var (
1201 scopeIDRe = regexp.MustCompile("Id: (.*?);")

Callers 4

TestKillQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected