Skip to content

Commit

Permalink
Fix the typo of comment (#345)
Browse files Browse the repository at this point in the history
Fix typos in gomega dsl comments
  • Loading branch information
linzhaoming authored and William Martin committed May 2, 2019
1 parent abeb93d commit f0e010e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gomega_dsl.go
Expand Up @@ -242,7 +242,7 @@ func EventuallyWithOffset(offset int, actual interface{}, intervals ...interface
// assert that all other values are nil/zero.
// This allows you to pass Consistently a function that returns a value and an error - a common pattern in Go.
//
// Consistently is useful in cases where you want to assert that something *does not happen* over a period of tiem.
// Consistently is useful in cases where you want to assert that something *does not happen* over a period of time.
// For example, you want to assert that a goroutine does *not* send data down a channel. In this case, you could:
//
// Consistently(channel).ShouldNot(Receive())
Expand Down Expand Up @@ -320,7 +320,7 @@ type GomegaAsyncAssertion = AsyncAssertion
// All methods take a variadic optionalDescription argument. This is passed on to fmt.Sprintf()
// and is used to annotate failure messages.
//
// All methods return a bool that is true if hte assertion passed and false if it failed.
// All methods return a bool that is true if the assertion passed and false if it failed.
//
// Example:
//
Expand Down

0 comments on commit f0e010e

Please sign in to comment.