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:
David E Worth 2018-09-25 16:32:41 -06:00 committed by David Worth
parent f69c853d21
commit c2c648fdcb
No known key found for this signature in database
GPG Key ID: E50E685A7FA02BC4
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)
}
}