Skip to content

Commit

Permalink
[-] fix TestCallModifier()
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Sep 6, 2023
1 parent b39e8d5 commit f821855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expectations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestCallModifier(t *testing.T) {
}
}

mock.ExpectPing().WillDelayFor(time.Second).Maybe().Times(4).WillPanic("i'm")
mock.ExpectPing().WillDelayFor(time.Second).Maybe().Times(4)
f() //should produce no error since Ping() call is optional

if err := mock.Ping(context.Background()); err != nil {
Expand Down

0 comments on commit f821855

Please sign in to comment.