"checkStatsValue" is now unused, but keep if needed in future.

This commit is contained in:
Joachim Bauch 2025-12-09 10:48:52 +01:00
commit c533b039b2
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -58,7 +58,7 @@ func assertCollectorChangeBy(t *testing.T, collector prometheus.Collector, delta
})
}
func checkStatsValue(t *testing.T, collector prometheus.Collector, value float64) {
func checkStatsValue(t *testing.T, collector prometheus.Collector, value float64) { // nolint:unused
// Make sure test is not executed with "t.Parallel()"
t.Setenv("PARALLEL_CHECK", "1")