diff --git a/net/ghttp/ghttp_z_unit_issue_test.go b/net/ghttp/ghttp_z_unit_issue_test.go index 825bf3f20..c9969a07e 100644 --- a/net/ghttp/ghttp_z_unit_issue_test.go +++ b/net/ghttp/ghttp_z_unit_issue_test.go @@ -727,7 +727,6 @@ func Test_Issue4093(t *testing.T) { }) } - // https://github.com/gogf/gf/issues/4193 func Test_Issue4193(t *testing.T) { type Req struct { @@ -755,6 +754,8 @@ func Test_Issue4193(t *testing.T) { "file": "", }) t.Assert(content, `{"code":51,"message":"The File field is required","data":null}`) + }) +} // Issue4227Req type Issue4227Req struct { @@ -811,6 +812,5 @@ func Test_Issue4227(t *testing.T) { resp3 := client.PostContent(ctx, "/hello/123", `{}`) t.Assert(resp3, `{"Authorization":"Bearer token123","query_param":false,"path_param":123,"cookie_param":true,"body_param":false}`) - }) }