Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed May 24, 2022
1 parent ed55a47 commit 8be74a7
Show file tree
Hide file tree
Showing 7 changed files with 269 additions and 1 deletion.
42 changes: 42 additions & 0 deletions mocks/pkg/fixtures/EmbeddedGet.go

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

42 changes: 42 additions & 0 deletions mocks/pkg/fixtures/GetGeneric.go

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

39 changes: 39 additions & 0 deletions mocks/pkg/fixtures/GetInt.go

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

96 changes: 96 additions & 0 deletions mocks/pkg/fixtures/RequesterGenerics.go

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

25 changes: 25 additions & 0 deletions mocks/pkg/fixtures/constraints/Integer.go

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

25 changes: 25 additions & 0 deletions mocks/pkg/fixtures/constraints/Signed.go

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

1 change: 0 additions & 1 deletion pkg/generator.go
Expand Up @@ -816,7 +816,6 @@ type {{ .ConstructorTestingInterfaceName }} interface {
// {{ .ConstructorName }} creates a new instance of {{ .MockName }}. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func {{ .ConstructorName }}{{ .TypeConstraint }}(t {{ .ConstructorTestingInterfaceName }}) *{{ .MockName }}{{ .TypeParams }} {
mock := &{{ .MockName }}{{ .InstantiatedTypeString }}{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
Expand Down

0 comments on commit 8be74a7

Please sign in to comment.