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

Fixed tests to handle zero matching in OTP 27 #57

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

dw-kihara
Copy link
Contributor

Starting from OTP 27, 0.0 no longer matches -0.0, so several tests need explicit - signs. Also added + signs to suppress warnings requiring explicit +0.0 for matching.

@dumbbell dumbbell self-assigned this Jun 4, 2024
@dumbbell
Copy link
Collaborator

dumbbell commented Jun 4, 2024

Hi! Thanks for the patch!

Could you please add the pull request description to the commit message? It is interesting and will be valuable in the Git history.

@dumbbell dumbbell mentioned this pull request Jun 4, 2024
@dumbbell dumbbell added this to the v0.11.0 milestone Jun 4, 2024
@dumbbell
Copy link
Collaborator

dumbbell commented Jun 4, 2024

I stopped the test against Erlang 23. You can rebase your branch on top of the latest master and CI should be happy.

Starting from OTP 27, `0.0` no longer matches `-0.0`, so several tests need explicit `-` signs.
Also added `+` signs to suppress warnings requiring explicit `+0.0` for matching.
@dw-kihara dw-kihara force-pushed the fix/float_zero_match branch from 3406ca6 to cfaafe5 Compare June 4, 2024 22:36
@dw-kihara
Copy link
Contributor Author

Could you please add the pull request description to the commit message? It is interesting and will be valuable in the Git history.

Added the description. Does it make sence?

@coveralls
Copy link

Coverage Status

coverage: 77.564%. remained the same
when pulling cfaafe5 on dw-kihara:fix/float_zero_match
into 5741bf9 on yakaz:master.

@dumbbell dumbbell merged commit 62e91aa into yakaz:master Jun 5, 2024
4 checks passed
@dumbbell
Copy link
Collaborator

dumbbell commented Jun 5, 2024

Could you please add the pull request description to the commit message? It is interesting and will be valuable in the Git history.

Added the description. Does it make sence?

Yes :-)

I merged your patch, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants