diff --git a/pkg/app/context_test.go b/pkg/app/context_test.go index 1317a062c..960598baa 100644 --- a/pkg/app/context_test.go +++ b/pkg/app/context_test.go @@ -150,7 +150,7 @@ func TestSetConnectionClose(t *testing.T) { func TestNotFound(t *testing.T) { ctx := NewContext(0) ctx.NotFound() - if ctx.Response.StatusCode() != consts.StatusNotFound || string(ctx.Response.BodyBytes()) != "404 Page not found" { + if ctx.Response.StatusCode() != consts.StatusNotFound || string(ctx.Response.BodyBytes()) != "Not Found" { t.Fatalf("unexpected status code or body") } }