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

Misc. cleanup #78

Merged
merged 5 commits into from
Dec 24, 2020
Merged

Misc. cleanup #78

merged 5 commits into from
Dec 24, 2020

Conversation

dgollahon
Copy link
Contributor

I noticed there was an unused variable in the quantifier spec when I was trying to find a spot to write tests for #77. I think it was meant to be used as an assertion so I added it in the first commit here.

Since I noticed that unused variable by chance, I decided to run rubocop --lint and found a few other minor issues that felt like they might be worth a quick fixup. Feel free to reject these changes or I can drop commits you don't like but I thought they were all small improvements.

You might consider adding a minimal rubocop config with some basic linting and such enabled to avoid small items like these if you like these changes. If you don't, that's fine too.

- This was highlighted as an unused variable and I am pretty sure it was meant to be a part of the assertion so I have added a simple expect to cover that.
- This is not a semantic change but helps make it clear that the assignment is intended.
@jaynetics
Copy link
Collaborator

@dgollahon thanks, this is much appreciated! i'll add rubocop one of these days.

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.

2 participants