Skip to content

Commit f4bded3

Browse files
committed
Mark test helper
1 parent 6136a39 commit f4bded3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/cmd/repo/sync/sync_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,11 @@ func Test_SyncRun(t *testing.T) {
465465
}
466466

467467
func newMockGitClient(t *testing.T, config func(*mockGitClient)) *mockGitClient {
468+
t.Helper()
468469
m := &mockGitClient{}
469470
m.Test(t)
470471
t.Cleanup(func() {
472+
t.Helper()
471473
m.AssertExpectations(t)
472474
})
473475
if config != nil {

0 commit comments

Comments
 (0)