cmd/vet: go vet incorrectly romalformed struct tags #9784
Closed
Labels
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The latest version of go vet (go 1.4.1 with latest tools repo commit golang/tools@913f41f) is incorrectly reporting malformed struct tags when one of the tag values contains spaces.
Here is a minimal set of steps to reproduce the issue:
Output:
Removing the space inside the quoted value for the description (i.e.
TestDescription
) does not report the error, but clearly that is not the intended behavior.I've reproduced this issue with Windows, Linux, and OpenBSD.
The text was updated successfully, but these errors were encountered: