From 731374fb3682af61cb153dabeec89aae401f1ede Mon Sep 17 00:00:00 2001 From: goldlinker Date: Fri, 3 Oct 2025 21:26:47 +0800 Subject: [PATCH] docs(context): fix wrong function name in comment (#4382) Signed-off-by: goldlinker --- context_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context_test.go b/context_test.go index fbc13879..08ffc3f6 100644 --- a/context_test.go +++ b/context_test.go @@ -1233,7 +1233,7 @@ func TestContextRenderNoContentHTML(t *testing.T) { assert.Equal(t, "text/html; charset=utf-8", w.Header().Get("Content-Type")) } -// TestContextXML tests that the response is serialized as XML +// TestContextRenderXML tests that the response is serialized as XML // and Content-Type is set to application/xml func TestContextRenderXML(t *testing.T) { w := httptest.NewRecorder()