Skip to content

Commit

Permalink
fix error in doc
Browse files Browse the repository at this point in the history
not sure about you, but for me this didn't work and I had to change it like this.
  • Loading branch information
MichaelSp committed Jul 20, 2022
1 parent e41d12b commit 9b203cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ mockedHTTPClient := mock.NewMockedHTTPClient(
mock.WithRequestMatchHandler(
mock.GetUsersByUsername,
http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
WriteError(
http.Error
w,
http.StatusInternalServerError,
"github went belly up or something",
http.StatusInternalServerError,
)
}),
),
Expand Down

0 comments on commit 9b203cf

Please sign in to comment.