(t *testing.T)
| 689 | } |
| 690 | |
| 691 | func TestContextHandlerName(t *testing.T) { |
| 692 | c, _ := CreateTestContext(httptest.NewRecorder()) |
| 693 | c.handlers = HandlersChain{func(c *Context) {}, handlerNameTest} |
| 694 | |
| 695 | assert.Regexp(t, "^(.*/vendor/)?github.com/gin-gonic/gin.handlerNameTest$", c.HandlerName()) |
| 696 | } |
| 697 | |
| 698 | func TestContextHandlerNames(t *testing.T) { |
| 699 | c, _ := CreateTestContext(httptest.NewRecorder()) |
nothing calls this directly
no test coverage detected