Skip to content

Commit

Permalink
Return FailNow to Tester interface for previously generated mocks to …
Browse files Browse the repository at this point in the history
…be able to work with newer versions of the minimock package
  • Loading branch information
hexdigest committed Jun 20, 2024
1 parent 48df40b commit 83011bd
Show file tree
Hide file tree
Showing 3 changed files with 365 additions and 0 deletions.
1 change: 1 addition & 0 deletions mock_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type Tester interface {
Fatalf(format string, args ...interface{})
Error(...interface{})
Errorf(format string, args ...interface{})
FailNow()
Cleanup(f func())
}

Expand Down
182 changes: 182 additions & 0 deletions tests/package_name_specified_test.go

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

Loading

0 comments on commit 83011bd

Please sign in to comment.