Merge pull request #467 from daveworth/patch-1

fix exponential buckets failure message
This commit is contained in:
Björn Rabenstein 2018-09-26 16:21:55 +02:00 committed by GitHub
commit 2d5a6493f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}