(t *testing.T)
| 134 | } |
| 135 | |
| 136 | func 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 | |
| 143 | func TestRouteHandler(t *testing.T) { |
| 144 | var routeHandlerTests = []struct { |
nothing calls this directly
no test coverage detected