MCPcopy
hub / github.com/labstack/echo / TestMustRewriteWithConfig_emptyRulesPanics

Function TestMustRewriteWithConfig_emptyRulesPanics

middleware/rewrite_test.go:96–100  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

94}
95
96func TestMustRewriteWithConfig_emptyRulesPanics(t *testing.T) {
97 assert.Panics(t, func() {
98 RewriteWithConfig(RewriteConfig{})
99 })
100}
101
102func TestMustRewriteWithConfig_skipper(t *testing.T) {
103 var testCases = []struct {

Callers

nothing calls this directly

Calls 1

RewriteWithConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…