Skip to content

Commit

Permalink
works too
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSp committed Jul 27, 2022
1 parent 9b203cf commit f39b0be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -129,10 +129,10 @@ mockedHTTPClient := mock.NewMockedHTTPClient(
mock.WithRequestMatchHandler(
mock.GetUsersByUsername,
http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
http.Error
mock.WriteError
w,
http.StatusInternalServerError,
"github went belly up or something",
http.StatusInternalServerError,
)
}),
),
Expand Down

0 comments on commit f39b0be

Please sign in to comment.