diff --git a/context_test.go b/context_test.go index 157f0945..9ce16e37 100644 --- a/context_test.go +++ b/context_test.go @@ -284,6 +284,13 @@ func TestContextNetContext(t *testing.T) { assert.Equal(t, "val", c.Value("key")) } +func TestContextEcho(t *testing.T) { + c := new(Context) + + // Should be null when initialized without one + assert.Nil(t, c.Echo()) +} + func testBind(t *testing.T, c *Context, ct string) { c.request.Header.Set(ContentType, ct) u := new(user)