Skip to content

Commit

Permalink
fix: mocking code exemple (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
hemilioaraujo authored Sep 17, 2024
1 parent 27a0672 commit d9b5ccb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mocking.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ func Countdown(out io.Writer, sleeper Sleeper) {
fmt.Fprintln(out, i)
}

sleeper.Sleep()
fmt.Fprint(out, finalWord)
}
```
Expand Down

0 comments on commit d9b5ccb

Please sign in to comment.