From c2c648fdcb979b1e8d4f797aeb5af95665631aa1 Mon Sep 17 00:00:00 2001 From: David E Worth Date: Tue, 25 Sep 2018 16:32:41 -0600 Subject: [PATCH] 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 --- prometheus/histogram_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/histogram_test.go b/prometheus/histogram_test.go index 8427b5b..9546b87 100644 --- a/prometheus/histogram_test.go +++ b/prometheus/histogram_test.go @@ -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) } }