-
Notifications
You must be signed in to change notification settings - Fork 25
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
bump golang.org/x/tools to v0.6.0 #264
Conversation
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
Hey @jackofallops 👋 Thank you for submitting this. Rather than removing the tests, can you please fix the source code for those tests? We should be validating that the suggested fixes still work. |
Actually, never mind. I'm not sure there is a decent way to make that pass -- generally removing the Go associated with "avoid" selectors would generate Go syntax errors. Will merge if the tests pass. |
There may be other code changes required:
|
I'll take another look asap - thanks @bflad |
I ran
Will take another look tomorrow.... |
supersedes #259
fixes #255
Removed tests XR007.TestAnalyzerFixes and XR008.TestAnalyzerFixes which only previously passed due to a
continue
onerr
bug ingolang.org/x/tools
when formatting the amended source:https://github.com/bflad/tfproviderlint/blob/main/vendor/golang.org/x/tools/go/analysis/analysistest/analysistest.go#L221