forked from mirror/client_golang
fix exponential buckets failure message
it appears there is a copy/paste error in the exponential buckets test failure message which is fixed here. Signed-off-by: David Worth <dworth@strava.com>
This commit is contained in:
parent
f69c853d21
commit
c2c648fdcb
|
@ -344,7 +344,7 @@ func TestBuckets(t *testing.T) {
|
|||
got = ExponentialBuckets(100, 1.2, 3)
|
||||
want = []float64{100, 120, 144}
|
||||
if !reflect.DeepEqual(got, want) {
|
||||
t.Errorf("linear buckets: got %v, want %v", got, want)
|
||||
t.Errorf("exponential buckets: got %v, want %v", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue