From e5639d1dcb98e3f1027e110d11ab9eda54e36f34 Mon Sep 17 00:00:00 2001 From: Bartlomiej Plotka Date: Wed, 20 Sep 2023 21:12:41 +0100 Subject: [PATCH] Update prometheus/counter_test.go Co-authored-by: Arthur Silva Sens Signed-off-by: Bartlomiej Plotka --- prometheus/counter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/counter_test.go b/prometheus/counter_test.go index 67c273b65..3686199b5 100644 --- a/prometheus/counter_test.go +++ b/prometheus/counter_test.go @@ -382,7 +382,7 @@ func expectCTsForMetricVecValues(t testing.TB, vec *MetricVec, typ dto.MetricTyp } if !gotTs.Equal(ct) { - t.Errorf("expected created timestamp for counter with label value %q: %s, got %s", val, ct, gotTs) + t.Errorf("expected created timestamp for %s with label value %q: %s, got %s", typ, val, ct, gotTs) } } }