(t *testing.T)
| 717 | } |
| 718 | |
| 719 | func TestContextHandler(t *testing.T) { |
| 720 | c, _ := CreateTestContext(httptest.NewRecorder()) |
| 721 | c.handlers = HandlersChain{func(c *Context) {}, handlerTest} |
| 722 | |
| 723 | assert.Equal(t, reflect.ValueOf(handlerTest).Pointer(), reflect.ValueOf(c.Handler()).Pointer()) |
| 724 | } |
| 725 | |
| 726 | func TestContextQuery(t *testing.T) { |
| 727 | c, _ := CreateTestContext(httptest.NewRecorder()) |
nothing calls this directly
no test coverage detected