Fix tiny punctuation issue in doc comment

Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
beorn7 2018-11-15 18:40:33 +01:00
parent 220bcf5e32
commit c4c1f3461e
1 changed files with 2 additions and 1 deletions

View File

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