You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CL 221427 (dcf0929) caused go test pkg -args -h and go test pkg -args -help to no longer pass -h and -help (respectively) to the compiled test binary as documented by go help testflag. Instead, it runs pkg's tests.
Oh, cmd/go is passing -help to the test binary; but it's then interpreting the successful exit code as all tests green and printing "ok" instead of the output.
CL 221427 (dcf0929) caused
go test pkg -args -h
andgo test pkg -args -help
to no longer pass-h
and-help
(respectively) to the compiled test binary as documented bygo help testflag
. Instead, it runs pkg's tests.This is a regression in behavior from Go 1.14.
/cc @rsc @ianlancetaylor @sding3
The text was updated successfully, but these errors were encountered: