Package: golang-github-nbrownus-go-metrics-prometheus / 0.0~git20210712.974a626-6

Metadata

Package Version Patches format
golang-github-nbrownus-go-metrics-prometheus 0.0~git20210712.974a626-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fix prometheus tests.patch | (download)

prometheusmetrics_test.go | 66 37 + 29 - 0 !
1 file changed, 37 insertions(+), 29 deletions(-)

 fix prometheus tests

Since protobuf APIv2, the text serialization format is not deterministic,
and thus cannot be relied upon for overly brittle "golden tests". The
workaround is to unmarshal the golden test "want" string, and compare it
via proto.Equal().