-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
dev: follow standards by using 'want' instead of 'ERROR' for tests #3104
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
Conversation
6249032
to
dc98d07
Compare
33b6fe4
to
ae02093
Compare
79345a7
to
3b8e8f8
Compare
3b8e8f8
to
df628f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the long wait, really appreciate the work on this PR. Will make it easy to port tests but also just great improvement to the runner!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
@bombsimon thank you for the review 👍 |
This is a complete rewrite of the test system.
Inspired by https://pkg.go.dev/golang.org/x/tools/go/analysis/analysistest#Run
extra: I also add a new directives:
golangcitest:expected_exitcode
directive. Still the same goal: robustness and high-quality test outputs.Fixes #1222