Skip to content

Commit

Permalink
chore: marked function as helper
Browse files Browse the repository at this point in the history
  • Loading branch information
puffitos committed Dec 25, 2024
1 parent dbab11f commit 2a3581b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sparrow/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ func TestGenerateCheckSpecs(t *testing.T) {

// newMockCheck creates a new mock check with the given name.
func newMockCheck(t *testing.T, name string) *checks.CheckMock {
t.Helper()
return &checks.CheckMock{
GetMetricCollectorsFunc: func() []prometheus.Collector {
return []prometheus.Collector{
Expand Down

0 comments on commit 2a3581b

Please sign in to comment.