Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalys authored Feb 28, 2024
1 parent 9270488 commit 0b115f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ So you can use it like this
```go

func Test_Stub(t *testing.T) {
mock := mocks.NewStubInterface(t)
mock := mocks.NewStubInterface(t) // Setup call expectations
mock.OnWeirdFunc1(func(a any, b interface { A() int }) {
require.NotNil(t, a)
...
Expand Down

0 comments on commit 0b115f9

Please sign in to comment.