forked from mirror/client_golang
Merge pull request #467 from daveworth/patch-1
fix exponential buckets failure message
This commit is contained in:
commit
2d5a6493f8
|
@ -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