Skip to content

Commit

Permalink
Clean up Eventually and Cosnistently docs
Browse files Browse the repository at this point in the history
  • Loading branch information
onsi committed Aug 5, 2021
1 parent 59b91e6 commit 751b15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gomega_dsl.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func ExpectWithOffset(offset int, actual interface{}, extra ...interface{}) Asse
/*
Eventually enables making assertions on asynchronous behavior.
Eventually blocks when called and attempts an assertion periodically until it passes or a timeout occurs. Both the timeout and polling interval are configurable as optional arguments.
Eventually checks that an assertion *eventually* passes. Eventually blocks when called and attempts an assertion periodically until it passes or a timeout occurs. Both the timeout and polling interval are configurable as optional arguments.
The first optional argument is the timeout (which defaults to 1s), the second is the polling interval (which defaults to 10ms). Both intervals can be specified as time.Duration, parsable duration strings or floats/integers (in which case they are interpreted as seconds).
Eventually works with any Gomega compatible matcher and supports making assertions against three categories of actual value:
Expand Down

0 comments on commit 751b15f

Please sign in to comment.