Skip to content

Commit

Permalink
typo: rename method according to lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
alexintech committed Oct 17, 2024
1 parent 3cef775 commit c67ffe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/reporter/gitlab_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ func TestGitLabReporterCommentLine(t *testing.T) {
t.Run(tc.description, func(t *testing.T) {
slog.SetDefault(slogt.New(t))

srv := httptest.NewServer(getHttpHandlerForCommentingLines(
srv := httptest.NewServer(getHTTPHandlerForCommentingLines(
tc.expectedNewLine, tc.expectedOldLine, multipleDiffs, t))
defer srv.Close()

Expand Down Expand Up @@ -538,7 +538,7 @@ func TestGitLabReporterCommentLine(t *testing.T) {
}
}

func getHttpHandlerForCommentingLines(expectedNewLine, expectedOldLine int, diff string, t *testing.T) http.HandlerFunc {
func getHTTPHandlerForCommentingLines(expectedNewLine, expectedOldLine int, diff string, t *testing.T) http.HandlerFunc {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(200)
switch r.URL.Path {
Expand Down

0 comments on commit c67ffe4

Please sign in to comment.