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

Function TestMustGzipWithConfig_panics

middleware/compress_test.go:38–42  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

36}
37
38func TestMustGzipWithConfig_panics(t *testing.T) {
39 assert.Panics(t, func() {
40 GzipWithConfig(GzipConfig{Level: 999})
41 })
42}
43
44func TestGzip_AcceptEncodingHeader(t *testing.T) {
45 h := Gzip()(func(c *echo.Context) error {

Callers

nothing calls this directly

Calls 1

GzipWithConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…