Skip to content

Commit

Permalink
TMP-PLS-CHECK-AND-FIXUP fix rebase errors
Browse files Browse the repository at this point in the history
  • Loading branch information
grongor committed Mar 31, 2022
1 parent 09de88a commit 9489caf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pkg/fixtures/mocks/expecter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions pkg/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,15 @@ func (_c *Requester_Get_Call) Return(_a0 string, _a1 error) *Requester_Get_Call
_c.Call.Return(_a0, _a1)
return _c
}
// NewRequester creates a new instance of Requester. It also registers a cleanup function to assert the mocks expectations.
func NewRequester(t testing.TB) *Requester {
mock := &Requester{}
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}
`

cfg := config.Config{
Expand Down

0 comments on commit 9489caf

Please sign in to comment.