From a010fc44ae00a76cecc9800a994f9ca552bb4873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8D=E9=94=90?= <1565842059@qq.com> Date: Fri, 28 Aug 2026 20:16:12 +0800 Subject: [PATCH] test(context): fix ineffectual assignment in TestContextPostFormWithoutRequest --- context_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context_test.go b/context_test.go index fe92949b..654cfeaf 100644 --- a/context_test.go +++ b/context_test.go @@ -3992,6 +3992,6 @@ func TestContextPostFormWithoutRequest(t *testing.T) { req4, _ := http.NewRequest(http.MethodPost, "/", strings.NewReader("bad multipart payload")) req4.Header.Set("Content-Type", "multipart/form-data; boundary=boundary") c4.Request = req4 - val, ok = c4.GetPostForm("key") + _, ok = c4.GetPostForm("key") assert.False(t, ok) }