(t *testing.T)
| 92 | } |
| 93 | |
| 94 | func TestContextEcho(t *testing.T) { |
| 95 | e := New() |
| 96 | req := httptest.NewRequest(http.MethodPost, "/", strings.NewReader(userJSON)) |
| 97 | rec := httptest.NewRecorder() |
| 98 | |
| 99 | c := e.NewContext(req, rec) |
| 100 | |
| 101 | assert.Equal(t, e, c.Echo()) |
| 102 | } |
| 103 | |
| 104 | func TestContextRequest(t *testing.T) { |
| 105 | e := New() |
nothing calls this directly
no test coverage detected
searching dependent graphs…