mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix lint error
Some weird formatting issue in using comment suggestion Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
parent
f45709e710
commit
505ffd34ef
|
@ -613,7 +613,7 @@ func TestCustomBucketsHistogramToFloat(t *testing.T) {
|
||||||
require.NoError(t, h.Validate())
|
require.NoError(t, h.Validate())
|
||||||
for _, c := range cases {
|
for _, c := range cases {
|
||||||
t.Run(c.name, func(t *testing.T) {
|
t.Run(c.name, func(t *testing.T) {
|
||||||
hStr := h.String()
|
hStr := h.String()
|
||||||
fh := h.ToFloat(c.fh)
|
fh := h.ToFloat(c.fh)
|
||||||
require.NoError(t, fh.Validate())
|
require.NoError(t, fh.Validate())
|
||||||
require.Equal(t, hStr, h.String())
|
require.Equal(t, hStr, h.String())
|
||||||
|
|
Loading…
Reference in a new issue