From c4c1f3461e40e5c6a4f570f5b00415cf5eacbd79 Mon Sep 17 00:00:00 2001 From: beorn7 Date: Thu, 15 Nov 2018 18:40:33 +0100 Subject: [PATCH] Fix tiny punctuation issue in doc comment Signed-off-by: beorn7 --- prometheus/testutil/testutil.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prometheus/testutil/testutil.go b/prometheus/testutil/testutil.go index 973b82d..e344cc8 100644 --- a/prometheus/testutil/testutil.go +++ b/prometheus/testutil/testutil.go @@ -143,7 +143,8 @@ func GatherAndCompare(g prometheus.Gatherer, expected io.Reader, metricNames ... // compare encodes both provided slices of metric families into the text format, // compares their string message, and returns an error if they do not match. -// The error contains the encoded text, of both the desired, and actual result. +// The error contains the encoded text of both the desired and the actual +// result. func compare(got, want []*dto.MetricFamily) error { var gotBuf, wantBuf bytes.Buffer enc := expfmt.NewEncoder(&gotBuf, expfmt.FmtText)