(t *testing.T)
| 107 | } |
| 108 | |
| 109 | func TestBodyDump_panic(t *testing.T) { |
| 110 | assert.Panics(t, func() { |
| 111 | mw := BodyDump(nil) |
| 112 | assert.NotNil(t, mw) |
| 113 | }) |
| 114 | |
| 115 | assert.NotPanics(t, func() { |
| 116 | BodyDump(func(c *echo.Context, reqBody, resBody []byte, err error) {}) |
| 117 | }) |
| 118 | } |
| 119 | |
| 120 | func TestBodyDumpResponseWriter_CanNotFlush(t *testing.T) { |
| 121 | bdrw := bodyDumpResponseWriter{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…