From 84d4a92b551bbf9d89d4f0bf015a0651721370e0 Mon Sep 17 00:00:00 2001 From: Alliballibaba Date: Tue, 21 Jan 2025 10:51:35 +0100 Subject: [PATCH] ?Fixes assertion. --- internal/phpheaders/phpheaders_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/phpheaders/phpheaders_test.go b/internal/phpheaders/phpheaders_test.go index 2ec5e2b91..736655053 100644 --- a/internal/phpheaders/phpheaders_test.go +++ b/internal/phpheaders/phpheaders_test.go @@ -10,6 +10,6 @@ func TestAllHeadersAreCorrect(t *testing.T) { for header, phpHeader := range commonRequestHeaders { expectedPHPHeader := GetUnCommonHeader(header) hardCodedHeader := phpHeader + "\x00" - assert.Equal(t, hardCodedHeader, expectedPHPHeader, "header %s is not well formed", header) + assert.Equal(t, hardCodedHeader, expectedPHPHeader, "header is not well formed: "+phpHeader) } }