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
It no longer accepts Println with a constant ending with a newline:
Fixesspf13#368
./flag_test.go:1242:3: fmt.Println arg list ends with redundant newline
FAIL github.com/spf13/pflag [build failed]
Also changing the previous line ven if it si not constant for
consistency.
I get a test failure with go 1.19.4 (amd64):
The behaviour changed in 1.18 golang/go#57059
Changing the line to
fmt.Print("\n" + defaultOutput + "\n")
fixes it.The text was updated successfully, but these errors were encountered: