mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-15 01:54:06 -08:00
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:
parent
d524ab48b1
commit
a9ed61e91f
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue