36b9f46811
CollectAndFormat is a helper function that returns the formatted metrics to the caller, allowing them to use it how they want. This is different to CollectAndCompare where the comparison is done strictly on behalf of the caller. Often it is more convenient to perform a simple substring match on the formatted metric. Signed-off-by: Jack Cassidy <j.cassidy45@gmail.com> |
||
---|---|---|
.. | ||
diff | ||
promlint | ||
lint.go | ||
lint_test.go | ||
testutil.go | ||
testutil_test.go |