80d3f0b5b3
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> |
||
---|---|---|
.. | ||
promlint | ||
lint.go | ||
lint_test.go | ||
testutil.go | ||
testutil_test.go |