Update model/histogram/histogram_test.go

Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
pull/13662/head
George Krajcsovits 5 months ago committed by GitHub
parent a3d92dd72f
commit f45709e710
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -613,9 +613,11 @@ func TestCustomBucketsHistogramToFloat(t *testing.T) {
require.NoError(t, h.Validate())
for _, c := range cases {
t.Run(c.name, func(t *testing.T) {
hStr := h.String()
fh := h.ToFloat(c.fh)
require.NoError(t, fh.Validate())
require.Equal(t, h.String(), fh.String())
require.Equal(t, hStr, h.String())
require.Equal(t, hStr, fh.String())
})
}
}

Loading…
Cancel
Save