From 52342d96a62cf70098996f15a04a411a4012be52 Mon Sep 17 00:00:00 2001 From: Carina Kothe Date: Thu, 19 Sep 2024 22:25:10 +0200 Subject: [PATCH] add `nolint` comment --- testing/test_helpers.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/test_helpers.go b/testing/test_helpers.go index 12d12aa6..a8ea74ef 100644 --- a/testing/test_helpers.go +++ b/testing/test_helpers.go @@ -155,10 +155,10 @@ func GetStructuredMessageHeaders() http.Header { func GetBinaryMessageHeaders() http.Header { headers := make(http.Header) - headers.Add(CeIDHeader, EventID) - headers.Add(CeTypeHeader, CloudEventType) - headers.Add(CeSourceHeader, CloudEventSource) - headers.Add(CeSpecVersionHeader, CloudEventSpecVersion) + headers.Add(CeIDHeader, EventID) //nolint:canonicalheader // used in testing. + headers.Add(CeTypeHeader, CloudEventType) //nolint:canonicalheader // used in testing. + headers.Add(CeSourceHeader, CloudEventSource) //nolint:canonicalheader // used in testing. + headers.Add(CeSpecVersionHeader, CloudEventSpecVersion) //nolint:canonicalheader // used in testing. return headers }