Skip to content

test(server): fix lint failure in head_test.go - #400

Merged
claudiodangelis merged 1 commit into
mainfrom
fix/head-test-lint
Nov 22, 2026
Merged

claudiodangelis merged 1 commit into
mainfrom
fix/head-test-lint

Conversation

@claudiodangelis

Copy link
Copy Markdown
Owner

#399 broke the lint job on main:

server/head_test.go:326:3: QF1003: could use tagged switch on i (staticcheck)

This replaces the if/else if on i with a switch. No behavior change.

  • go test -race ./server passes
  • golangci-lint v2.0.2 (same as CI): 0 issues

Fixes the staticcheck QF1003 lint failure on main introduced by #399.
@claudiodangelis
claudiodangelis merged commit 3160f8b into main Nov 22, 2026
6 checks passed
@claudiodangelis
claudiodangelis deleted the fix/head-test-lint branch November 22, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant