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

test: vet that all Cmders have a SetVal() method #2180

Merged
merged 1 commit into from Aug 8, 2022

Conversation

armsnyder
Copy link
Contributor

@armsnyder armsnyder commented Aug 8, 2022

I wrote a simple go-vet / golangci-lint plugin (they're the same under the hood, really), with a check to ensure that all Cmders have a SetVal() method so they are testable.

Related to #1906 #2179

The CI is failing on purpose (waiting for #2179 to merge):

Screen Shot 2022-08-07 at 11 01 18 PM

@vmihailenco
Copy link
Collaborator

Wow, this is pretty cool, thanks!

@vmihailenco vmihailenco merged commit 5a806ca into redis:master Aug 8, 2022
@armsnyder armsnyder deleted the vet-tool branch August 8, 2022 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants