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

Use .to eq consistently #104

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Use .to eq consistently #104

merged 1 commit into from
Jan 11, 2024

Conversation

jlw
Copy link
Contributor

@jlw jlw commented Jan 3, 2024

Description

Several older tests still had .to eql("foo") while most tests used .to eq "foo". We'll prefer the short, plain version and keep the parentheses as needed for comparing hashes.

Additional Notes

I generally prefer this sort of cleanup to be separate from other changes, but I understand you might prefer to include cleanup when touching files as part of a separate change in functionality.

Several older tests still had `.to eql("foo")` while most tests used
`.to eq "foo"`. We'll prefer the short, plain version and keep the
parentheses as needed for comparing hashes.
@ifellinaholeonce
Copy link
Collaborator

Thanks for cleaning this up! Small cleanup PRs separate from other changes are always welcome.

Copy link
Collaborator

@iMacTia iMacTia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, thank you for addressing this in a separate PR, totally makes sense to me!

@iMacTia iMacTia merged commit 0920644 into nicolasblanco:master Jan 11, 2024
16 checks passed
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.

3 participants