diff --git a/context_test.go b/context_test.go index 77e3cb73..99d5267d 100644 --- a/context_test.go +++ b/context_test.go @@ -585,7 +585,8 @@ func TestContextGetCookie(t *testing.T) { } func TestContextBodyAllowedForStatus(t *testing.T) { - assert.False(t, false, bodyAllowedForStatus(http.StatusProcessing)) + // todo(thinkerou): go1.6 not support StatusProcessing + assert.False(t, false, bodyAllowedForStatus(102)) assert.False(t, false, bodyAllowedForStatus(http.StatusNoContent)) assert.False(t, false, bodyAllowedForStatus(http.StatusNotModified)) assert.True(t, true, bodyAllowedForStatus(http.StatusInternalServerError))