Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaxmax authored Feb 7, 2025
1 parent c959677 commit 84c5e63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (h mockHandler) Handle(ctx context.Context, r slog.Record) error {
func mockLogFunc(w io.Writer) func(*http.Request) *slog.Logger {
h := slog.NewTextHandler(w, nil)
mockH := mockHandler{h}
return func(r *http.Request) *slog.Logger {
return func(*http.Request) *slog.Logger {
return slog.New(mockH)
}
}
Expand Down

0 comments on commit 84c5e63

Please sign in to comment.