From a9ed61e91f209d95c14b8e6259ffddf79cd28742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20Krajcsovits?= Date: Sun, 8 Jan 2023 16:39:27 +0100 Subject: [PATCH] Fix goftm linter error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit How was this not inherited from upstream??? Signed-off-by: György Krajcsovits --- model/textparse/openmetricsparse_test.go | 2 +- model/textparse/promparse_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/model/textparse/openmetricsparse_test.go b/model/textparse/openmetricsparse_test.go index 286801252..68b7fea8a 100644 --- a/model/textparse/openmetricsparse_test.go +++ b/model/textparse/openmetricsparse_test.go @@ -594,7 +594,7 @@ func TestOMNullByteHandling(t *testing.T) { }, { input: "a{b\x00=\"hiih\"} 1", - err: "expected equal, got \"INVALID\"", + err: "expected equal, got \"INVALID\"", }, { input: "a\x00{b=\"ddd\"} 1", diff --git a/model/textparse/promparse_test.go b/model/textparse/promparse_test.go index b026ed90e..6788b3c2e 100644 --- a/model/textparse/promparse_test.go +++ b/model/textparse/promparse_test.go @@ -321,7 +321,7 @@ func TestPromNullByteHandling(t *testing.T) { }, { input: "a{b\x00=\"hiih\"} 1", - err: "expected equal, got \"INVALID\"", + err: "expected equal, got \"INVALID\"", }, { input: "a\x00{b=\"ddd\"} 1",