client_golang/prometheus/testutil
Billy Keyes 80d3f0b5b3
Normalize empty help values in CollectAndCompare (#1378)
Due to an inconsistency in the text protocol between encoding and
decoding, it was not possible to use the testutil.CollectAndCompare
function to test metrics with empty help values. To fix this, normalize
empty help values from the expected/want side of the test so that they
compare correctly with empty values on the actual/got side of the test.

Signed-off-by: Billy Keyes <bluekeyes@gmail.com>
2023-11-20 09:57:30 +00:00
..
promlint Add support for custom validations in promlint (#1311) 2023-10-10 10:38:10 +01:00
lint.go fix assorted oddities found by golangci-lint (#1040) 2022-08-03 06:30:51 +02:00
lint_test.go Improve various comments 2020-04-25 15:59:53 +02:00
testutil.go Normalize empty help values in CollectAndCompare (#1378) 2023-11-20 09:57:30 +00:00
testutil_test.go Normalize empty help values in CollectAndCompare (#1378) 2023-11-20 09:57:30 +00:00