Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TestPrintDefaults with go >= 1.18
It no longer accepts Println with a constant ending with a newline: Fixes spf13#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.
- Loading branch information