cmd/vet: Linting for Sprintf fails for multiline strings with inputs on the second line #27422
Labels
Comments
Oops missed my |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?go version go1.10 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
https://play.golang.org/p/MoGKsOD0tVk
What did you expect to see?
gotvet
should passWhat did you see instead?
The above should pass linting but it fails because the last
%s
is on a different line with:The text was updated successfully, but these errors were encountered: