(t *testing.T)
| 18 | } |
| 19 | |
| 20 | func TestLoadBytes_custom(t *testing.T) { |
| 21 | data := echotest.LoadBytes(t, "testdata/test.json", func(bytes []byte) []byte { |
| 22 | return []byte(strings.ToUpper(string(bytes))) |
| 23 | }) |
| 24 | assert.Equal(t, []byte(strings.ToUpper(testJSONContent)+"\n"), data) |
| 25 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…