Skip to content

Commit 83011bd

Browse files
committed
Return FailNow to Tester interface for previously generated mocks to be able to work with newer versions of the minimock package
1 parent 48df40b commit 83011bd

File tree

3 files changed

+365
-0
lines changed

3 files changed

+365
-0
lines changed

mock_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ type Tester interface {
1717
Fatalf(format string, args ...interface{})
1818
Error(...interface{})
1919
Errorf(format string, args ...interface{})
20+
FailNow()
2021
Cleanup(f func())
2122
}
2223

tests/package_name_specified_test.go

Lines changed: 182 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)