Skip to content

Commit

Permalink
Method sleep needs capital S (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminhr authored and quii committed Sep 16, 2019
1 parent a0828e0 commit 958d89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocking.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ Let's first create a new type for `ConfigurableSleeper` that accepts what we nee
```go
type ConfigurableSleeper struct {
duration time.Duration
sleep func(time.Duration)
Sleep func(time.Duration)
}
```

Expand Down

0 comments on commit 958d89d

Please sign in to comment.