MCPcopy Index your code
hub / github.com/labstack/echo / TestLoadBytesOK

Function TestLoadBytesOK

echotest/reader_test.go:13–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

LoadBytesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…