mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
test: add t.Helper() calls to test helper functions (#7351)
This commit is contained in:
@@ -117,6 +117,7 @@ func getBucketCount(mf *test.MetricFamily, bucketLabel string) (int, error) {
|
||||
|
||||
// extractRequestSizeBucketCounts extracts bucket counts from DNS request size metrics
|
||||
func extractRequestSizeBucketCounts(t *testing.T, metrics []*test.MetricFamily, label string) (int, int, error) {
|
||||
t.Helper()
|
||||
var countBelow100, countAbove100 int
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user