-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: wrong load mode #1733
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
fix: wrong load mode #1733
Conversation
Did adding the |
Without my fix, those tests fail with an import. |
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.
Excellent!
It's weird, but it works, I just tested on master and with this changes. |
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.
Looks good to me. Thank you
* fix: asciicheck * fix: exportloopref * fix: exhaustivestruct * fix: makezero
Fixes #1515
I tested all the linters.
To avoid that in the future, every testdata for a linter must contain at least one import.
Before the fix: