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

Function TestLoadBytesOK_TrimNewlineEnd

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

Source from the content-addressed store, hash-verified

16}
17
18func TestLoadBytesOK_TrimNewlineEnd(t *testing.T) {
19 data := LoadBytes(t, "testdata/test.json", TrimNewlineEnd)
20 assert.Equal(t, []byte(testJSONContent), data)
21}

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…