Mark test helper

This commit is contained in:
Mislav Marohnić 2021-08-10 14:30:55 +02:00
parent 6136a39ed6
commit f4bded30f8

View file

@ -465,9 +465,11 @@ func Test_SyncRun(t *testing.T) {
}
func newMockGitClient(t *testing.T, config func(*mockGitClient)) *mockGitClient {
t.Helper()
m := &mockGitClient{}
m.Test(t)
t.Cleanup(func() {
t.Helper()
m.AssertExpectations(t)
})
if config != nil {