-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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: test fails with go1.15 #2646
Comments
I'm about to send a PR to fix that |
arl
added a commit
to arl/loki
that referenced
this issue
Sep 19, 2020
Since go1.15, there's a new vet check for code such as string(x) where x has an integer type other than rune. This vet check is enabled by default on go test. TestSerialization failed because of that, this commit replaces `string()` conversions with `strconv.Itoa` calls Fixes grafana#2646
2 tasks
owen-d
pushed a commit
that referenced
this issue
Sep 21, 2020
Since go1.15, there's a new vet check for code such as string(x) where x has an integer type other than rune. This vet check is enabled by default on go test. TestSerialization failed because of that, this commit replaces `string()` conversions with `strconv.Itoa` calls Fixes #2646
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Since go1.15, there's a new vet check for code such as
string(x)
where x has an integer type other thanrune
.This vet check is enabled by default on
go test
. https://golang.org/doc/go1.15#vetTo Reproduce
Steps to reproduce the behavior:
go test ./pkg/chunkenc/
Expected behavior
tests pass
Environment:
Screenshots, Promtail config, or terminal output
The text was updated successfully, but these errors were encountered: