1# Issue #44810: go get should not produce unnecessarily repetitive 2# "invalid version" error messages. 3 4go mod init m 5 6# A version string containing a slash should produce a concise error 7# without repeating the version information multiple times. 8! go get example.com/mod@branch/with/slash 9stderr '^go: example.com/mod@branch/with/slash: invalid version: disallowed version string$' 10! stderr 'version "branch/with/slash" invalid'