From 50c5c333674e353427e8db87dad0741b2712f774 Mon Sep 17 00:00:00 2001 From: hailaz <739476267@qq.com> Date: Fri, 5 Sep 2025 10:15:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Test=5FIssue4193=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E7=9A=84=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net/ghttp/ghttp_z_unit_issue_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}`) - }) }