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

Function TestMustKeyAuthWithConfig_panic

middleware/key_auth_test.go:340–344  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

338}
339
340func TestMustKeyAuthWithConfig_panic(t *testing.T) {
341 assert.Panics(t, func() {
342 KeyAuthWithConfig(KeyAuthConfig{})
343 })
344}
345
346func TestKeyAuth_errorHandlerSwallowsError(t *testing.T) {
347 handlerCalled := false

Callers

nothing calls this directly

Calls 1

KeyAuthWithConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…