Skip to content
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

Tests fail with Go 1.24 #149

Open
QuLogic opened this issue Feb 2, 2025 · 0 comments
Open

Tests fail with Go 1.24 #149

QuLogic opened this issue Feb 2, 2025 · 0 comments

Comments

@QuLogic
Copy link

QuLogic commented Feb 2, 2025

Go 1.24's go test added a vet check for non-constant format strings: https://go.dev/doc/go1.24#vet

This causes tests to fail to build:

# github.com/hashicorp/go-version
# [github.com/hashicorp/go-version]
./version.go:392:20: non-constant format string in call to fmt.Fprintf
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

No branches or pull requests

1 participant