Skip to content
New issue

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

cmd/go: fuzz tests should use -count=1 where possible #48984

Open
katiehockman opened this issue Oct 14, 2021 · 0 comments
Open

cmd/go: fuzz tests should use -count=1 where possible #48984

katiehockman opened this issue Oct 14, 2021 · 0 comments
Assignees
Milestone

Comments

@katiehockman
Copy link
Member

@katiehockman katiehockman commented Oct 14, 2021

We have some hacks in our tests in order to make sure something is only printed once (e.g. https://cs.opensource.google/go/go/+/master:src/cmd/go/testdata/script/test_fuzz_chatty.txt;l=46?q=test_fuzz_ch&ss=go%2Fgo), but there is a much nicer way to do that. We can just use -count= in the stdout check line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants