MCPcopy
hub / github.com/cortesi/devd / TestNewRoute

Function TestNewRoute

route_test.go:136–141  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

134}
135
136func TestNewRoute(t *testing.T) {
137 r, err := newRoute("foo=http://%", []string{})
138 if err == nil {
139 t.Errorf("Expected error, got %s", r)
140 }
141}
142
143func TestRouteHandler(t *testing.T) {
144 var routeHandlerTests = []struct {

Callers

nothing calls this directly

Calls 1

newRouteFunction · 0.85

Tested by

no test coverage detected