MCPcopy
hub / github.com/labstack/echo / TestLoadBytesOK

Function TestLoadBytesOK

echotest/reader_external_test.go:15–18  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

13}`
14
15func TestLoadBytesOK(t *testing.T) {
16 data := echotest.LoadBytes(t, "testdata/test.json")
17 assert.Equal(t, []byte(testJSONContent+"\n"), data)
18}
19
20func TestLoadBytes_custom(t *testing.T) {
21 data := echotest.LoadBytes(t, "testdata/test.json", func(bytes []byte) []byte {

Callers

nothing calls this directly

Calls 1

LoadBytesFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…