(t *testing.T)
| 1058 | } |
| 1059 | |
| 1060 | func TestContext_Validate(t *testing.T) { |
| 1061 | e := New() |
| 1062 | c := e.NewContext(nil, nil) |
| 1063 | |
| 1064 | assert.Error(t, c.Validate(struct{}{})) |
| 1065 | |
| 1066 | e.Validator = &validator{} |
| 1067 | assert.NoError(t, c.Validate(struct{}{})) |
| 1068 | } |
| 1069 | |
| 1070 | func TestContext_QueryString(t *testing.T) { |
| 1071 | e := New() |
nothing calls this directly
no test coverage detected
searching dependent graphs…