We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go version
$ go version go version devel go1.22-36091d82f6 Fri Jul 21 16:04:09 2023 +0200 darwin/arm64
Yes
Run the go test -v -args -x -v example from go help testflag.
go test -v -args -x -v
go help testflag
For instance, the command go test -v -args -x -v will compile the test binary and then run it as pkg.test -test.v -x -v
For instance, the command
will compile the test binary and then run it as
pkg.test -test.v -x -v
no error
Go(1) prints flag provided but not defined: -x with exit status 2.
flag provided but not defined: -x
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
Run the
go test -v -args -x -v
example fromgo help testflag
.What did you expect to see?
no error
What did you see instead?
Go(1) prints
flag provided but not defined: -x
with exit status 2.The text was updated successfully, but these errors were encountered: