Skip to content

Fix new golangci-lint issues #2167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Fix new golangci-lint issues #2167

merged 1 commit into from
Feb 18, 2025

Conversation

hslatman
Copy link
Member

No description provided.

@github-actions github-actions bot added the needs triage Waiting for discussion / prioritization by team label Feb 11, 2025
@hslatman hslatman force-pushed the herman/upgrade-linter branch 3 times, most recently from 94b7f6e to a1668d0 Compare February 11, 2025 12:05
@hslatman hslatman changed the title Upgrade golangci-lint to v1.63.4 Upgrade golangci-lint to v1.64.4 Feb 14, 2025
@hslatman hslatman added this to the v0.28.2 milestone Feb 17, 2025
@hslatman hslatman force-pushed the herman/upgrade-linter branch from a1668d0 to 21b9b02 Compare February 17, 2025 22:22
@hslatman hslatman changed the title Upgrade golangci-lint to v1.64.4 Fix new golangci-lint issues Feb 17, 2025
@hslatman hslatman force-pushed the herman/upgrade-linter branch 2 times, most recently from 47aa32c to 0a97117 Compare February 17, 2025 23:17
@hslatman hslatman marked this pull request as ready for review February 17, 2025 23:30
@hslatman hslatman requested review from a team and azazeal February 17, 2025 23:30

func TestUintConvertsValues(t *testing.T) {
require.Equal(t, uint(0), Uint(0))
require.Equal(t, uint(math.MaxInt64), Uint(math.MaxInt64))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break on non-x64 platforms. You should probably swap math.MaxInt64 for math.MaxInt.

@hslatman hslatman force-pushed the herman/upgrade-linter branch from 0a97117 to 27944b4 Compare February 18, 2025 10:05
@hslatman hslatman merged commit e38dec9 into master Feb 18, 2025
13 checks passed
@hslatman hslatman deleted the herman/upgrade-linter branch February 18, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants