Fix goftm linter error

How was this not inherited from upstream???

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
György Krajcsovits 2023-01-08 16:39:27 +01:00
parent d524ab48b1
commit a9ed61e91f
2 changed files with 2 additions and 2 deletions

View file

@ -594,7 +594,7 @@ func TestOMNullByteHandling(t *testing.T) {
}, },
{ {
input: "a{b\x00=\"hiih\"} 1", input: "a{b\x00=\"hiih\"} 1",
err: "expected equal, got \"INVALID\"", err: "expected equal, got \"INVALID\"",
}, },
{ {
input: "a\x00{b=\"ddd\"} 1", input: "a\x00{b=\"ddd\"} 1",

View file

@ -321,7 +321,7 @@ func TestPromNullByteHandling(t *testing.T) {
}, },
{ {
input: "a{b\x00=\"hiih\"} 1", input: "a{b\x00=\"hiih\"} 1",
err: "expected equal, got \"INVALID\"", err: "expected equal, got \"INVALID\"",
}, },
{ {
input: "a\x00{b=\"ddd\"} 1", input: "a\x00{b=\"ddd\"} 1",